Skip to content

Commit 25e7fb2

Browse files
committed
remove unnecessary scrollbars
1 parent 13c3250 commit 25e7fb2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/app/views/layout/LayoutStyles.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const SIDEBAR_SIZE_CSS_VAR = '--sidebar-size';
44

55
export const useLayoutResizeStyles = makeResetStyles({
66
[SIDEBAR_SIZE_CSS_VAR]: '23%'
7-
})
7+
});
88

99
export const useLayoutStyles = makeStyles({
1010
container: {
@@ -44,19 +44,20 @@ export const useLayoutStyles = makeStyles({
4444
display: 'flex',
4545
flexDirection: 'column',
4646
overflow: 'hidden',
47-
minWidth: 0
47+
minWidth: 0,
48+
minHeight: 0
4849
},
4950
requestResponseArea: {
5051
flex: 1,
5152
display: 'flex',
5253
flexDirection: 'column',
53-
overflow: 'hidden',
54-
minHeight: 0
54+
minHeight: 0,
55+
overflowY: 'auto',
56+
overflowX: 'hidden'
5557
},
5658
requestArea: {
57-
flex: '0 0 35%',
59+
flex: 1,
5860
minHeight: '200px',
59-
maxHeight: '40%',
6061
overflow: 'auto',
6162
borderRadius: tokens.borderRadiusMedium,
6263
padding: tokens.spacingHorizontalS

src/app/views/query-runner/request/Request.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ const useStyles = makeStyles({
4444
},
4545
tabContainer: {
4646
display: 'flex',
47-
flexShrink: 0,
48-
overflowX: 'hidden'
47+
flexShrink: 0
4948
},
5049
tabList: {
5150
padding: '5px 5px'

0 commit comments

Comments
 (0)