Skip to content

Commit 67ba8e2

Browse files
committed
feat(cli): improve scrollbar positioning and visibility
- Remove outer padding to allow scrollbar at screen edge - Move padding to scrollbox content for centered text - Increase right padding to compensate for terminal's left margin - Scrollbar now appears at absolute right edge of terminal
1 parent b30ebfe commit 67ba8e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/src/chat.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,8 +947,6 @@ export const Chat = ({
947947
style={{
948948
flexDirection: 'column',
949949
gap: 0,
950-
paddingLeft: 1,
951-
paddingRight: 1,
952950
flexGrow: 1,
953951
}}
954952
>
@@ -986,6 +984,8 @@ export const Chat = ({
986984
shouldFill: true,
987985
justifyContent: 'flex-end',
988986
backgroundColor: 'transparent',
987+
paddingLeft: 1,
988+
paddingRight: 2,
989989
},
990990
}}
991991
>

0 commit comments

Comments
 (0)