File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Core/Sources/SuggestionWidget Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ struct ChatWindowView: View {
3535 Divider ( )
3636
3737 ChatTabBar ( store: store)
38- . frame ( height: 32 )
38+ . frame ( height: 26 )
3939
4040 Divider ( )
4141
@@ -124,12 +124,12 @@ struct ChatTabBarButton: View {
124124 store. send ( . tabClicked( id: info. id) )
125125 } ) {
126126 Text ( info. title)
127+ . font ( . callout)
127128 . lineLimit ( 1 )
128129 . frame ( maxWidth: 120 )
129130 }
130131 . buttonStyle ( PlainButtonStyle ( ) )
131132 . padding ( . horizontal, 32 )
132- . frame ( maxHeight: . infinity)
133133
134134 . overlay ( alignment: . leading) {
135135 Button ( action: {
@@ -140,16 +140,17 @@ struct ChatTabBarButton: View {
140140 }
141141 . buttonStyle ( . plain)
142142 . padding ( 2 )
143- . padding ( . leading, 10 )
143+ . padding ( . leading, 8 )
144144 . opacity ( isHovered ? 1 : 0 )
145145 }
146146 . onHover { isHovered = $0 }
147147 . animation ( . linear( duration: 0.1 ) , value: isHovered)
148148 . animation ( . linear( duration: 0.1 ) , value: isSelected)
149149
150- Divider ( ) . padding ( . vertical, 16 )
150+ Divider ( ) . padding ( . vertical, 6 )
151151 }
152152 . background ( isSelected ? Color ( nsColor: . selectedControlColor) : Color . clear)
153+ . frame ( maxHeight: . infinity)
153154 }
154155}
155156
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import SharedUIComponents
44import SwiftUI
55
66enum Style {
7- static let panelHeight : Double = 500
8- static let panelWidth : Double = 480
7+ static let panelHeight : Double = 560
8+ static let panelWidth : Double = 454
99 static let inlineSuggestionMinWidth : Double = 540
1010 static let inlineSuggestionMaxHeight : Double = 400
1111 static let widgetHeight : Double = 24
You can’t perform that action at this time.
0 commit comments