File tree Expand file tree Collapse file tree 2 files changed +23
-31
lines changed
Expand file tree Collapse file tree 2 files changed +23
-31
lines changed Original file line number Diff line number Diff line change @@ -4,20 +4,20 @@ export const SIDEBAR_SIZE_CSS_VAR = '--sidebar-size';
44
55export const useLayoutResizeStyles = makeResetStyles ( {
66 [ SIDEBAR_SIZE_CSS_VAR ] : '23%'
7- } )
7+ } ) ;
88
99export const useLayoutStyles = makeStyles ( {
1010 container : {
1111 display : 'flex' ,
1212 flexDirection : 'column' ,
13- padding : tokens . spacingHorizontalS ,
14- height : 'clamp(100vh, auto, 200vh) ' ,
15- overflow : 'hidden'
13+ height : '100vh' ,
14+ overflow : 'hidden ' ,
15+ padding : tokens . spacingHorizontalS
1616 } ,
1717 content : {
1818 display : 'flex' ,
1919 flex : 1 ,
20- overflowY : 'hidden' ,
20+ overflow : 'hidden' ,
2121 minWidth : 0
2222 } ,
2323 sidebar : {
@@ -43,36 +43,27 @@ export const useLayoutStyles = makeStyles({
4343 flex : 1 ,
4444 display : 'flex' ,
4545 flexDirection : 'column' ,
46- minWidth : '300px ' ,
47- minHeight : 'calc(100vh - 98px)' ,
48- overflow : 'hidden'
46+ overflow : 'hidden ' ,
47+ minWidth : 0 ,
48+ minHeight : 0
4949 } ,
5050 requestResponseArea : {
51- flex : '1 1 auto' ,
51+ flex : 1 ,
5252 display : 'flex' ,
5353 flexDirection : 'column' ,
54- height : '60vh' ,
55- minHeight : '550px ' ,
56- overflow : 'hidden'
54+ minHeight : 0 ,
55+ overflowY : 'auto ' ,
56+ overflowX : 'hidden'
5757 } ,
58- responseArea : {
59- flex : '1 1 auto' ,
60- display : 'flex' ,
61- flexDirection : 'column' ,
62- minHeight : '300px' ,
63- height : 'auto' ,
64- maxHeight : '100%' ,
58+ requestArea : {
59+ flex : 1 ,
60+ minHeight : '200px' ,
6561 overflow : 'auto' ,
6662 borderRadius : tokens . borderRadiusMedium ,
6763 padding : tokens . spacingHorizontalS
6864 } ,
69- requestArea : {
70- flex : '1 1 40%' ,
71- display : 'flex' ,
72- flexDirection : 'column' ,
73- minHeight : '200px' ,
74- height :'auto' ,
75- maxHeight : '40%' ,
65+ responseArea : {
66+ flex : 1 ,
7667 overflow : 'auto' ,
7768 borderRadius : tokens . borderRadiusMedium ,
7869 padding : tokens . spacingHorizontalS
Original file line number Diff line number Diff line change @@ -38,14 +38,15 @@ interface IRequestProps {
3838
3939const useStyles = makeStyles ( {
4040 container : {
41- height : '-webkit-fill-available' ,
4241 display : 'flex' ,
43- flexDirection : 'column'
42+ flexDirection : 'column' ,
43+ width : '100%' ,
44+ height : '100%' ,
45+ overflow : 'hidden'
4446 } ,
4547 tabContainer : {
4648 display : 'flex' ,
47- flexShrink : 0 ,
48- overflowX : 'hidden'
49+ flexShrink : 0
4950 } ,
5051 tabList : {
5152 padding : '5px 5px'
@@ -60,7 +61,7 @@ const useStyles = makeStyles({
6061 marginTop : tokens . spacingHorizontalS ,
6162 backgroundColor : tokens . colorNeutralBackground1 ,
6263 minHeight : '0' ,
63- overflow : 'auto '
64+ overflow : 'hidden '
6465 } ,
6566 menuButton : {
6667 alignSelf : 'center'
You can’t perform that action at this time.
0 commit comments