Skip to content

Commit 1bd564b

Browse files
committed
Ensure consistent container height for branch menu and file list
1 parent db804ce commit 1bd564b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/style/BranchMenu.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export const newBranchButtonClass = style({
9797
export const listWrapperClass = style({
9898
display: 'block',
9999
width: '100%',
100+
minHeight: '150px',
100101
maxHeight: '400px',
101102

102103
overflow: 'hidden',

src/style/FileListStyle.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ import { style } from 'typestyle';
22

33
export const fileListWrapperClass = style({
44
height: 'auto',
5-
paddingBottom: '40px'
5+
minHeight: '150px',
6+
maxHeight: '400px',
7+
paddingBottom: '40px',
8+
9+
overflow: 'hidden',
10+
overflowY: 'scroll'
611
});
712

813
export const moveFileUpButtonStyle = style({

0 commit comments

Comments
 (0)