Skip to content

Commit 069b0ed

Browse files
committed
use 'auto' overflow
prevent scrollbar area from rendering when not necessary.
1 parent 2787178 commit 069b0ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/style/BranchMenu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const listWrapperClass = style({
101101
maxHeight: '400px',
102102

103103
overflow: 'hidden',
104-
overflowY: 'scroll'
104+
overflowY: 'auto'
105105
});
106106

107107
export const listItemClass = style({

src/style/HistorySideBarStyle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ export const historySideBarStyle = style({
1010
marginBlockEnd: 0,
1111
paddingLeft: 0,
1212

13-
overflowY: 'scroll'
13+
overflowY: 'auto'
1414
});

0 commit comments

Comments
 (0)