File tree Expand file tree Collapse file tree
devtools-a11y/src/core/styles Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ function createA11yPanelStyles(theme: TanStackDevtoolsTheme) {
6464
6565 root : css `
6666 height : 100% ;
67+ min-height : 0 ;
6768 display : flex;
6869 flex-direction : column;
6970 overflow : hidden;
@@ -168,6 +169,7 @@ function createA11yPanelStyles(theme: TanStackDevtoolsTheme) {
168169
169170 content : css `
170171 flex : 1 ;
172+ min-height : 0 ;
171173 overflow-y : auto;
172174 padding : 16px ;
173175 ` ,
Original file line number Diff line number Diff line change @@ -677,6 +677,10 @@ const stylesFactory = (theme: TanStackDevtoolsTheme) => {
677677 } ,
678678 mainPanel : {
679679 panel : ( withPadding : boolean ) => css `
680+ display : flex;
681+ flex-direction : column;
682+ min-width : 0 ;
683+ min-height : 0 ;
680684 padding : ${ withPadding ? tokens . size [ 3 ] : 0 } ;
681685 background : ${ t ( colors . gray [ 50 ] , colors . darkGray [ 700 ] ) } ;
682686 overflow-y : auto;
Original file line number Diff line number Diff line change @@ -256,6 +256,8 @@ const stylesFactory = (theme: DevtoolsStore['settings']['theme']) => {
256256 } ,
257257 devtoolsPanel : css `
258258 dis play: flex;
259+ min- width: 0;
260+ min- height: 0;
259261 font- size: ${ fontSize . sm } ;
260262 font- family: ${ fontFamily . sans } ;
261263 background- color : ${ t ( colors . white , colors . darkGray [ 700 ] ) } ;
@@ -429,12 +431,21 @@ const stylesFactory = (theme: DevtoolsStore['settings']['theme']) => {
429431 ` ,
430432 tabContent : css `
431433 transition : all 0.2s ease-in-out;
434+ display : flex;
435+ flex : 1 1 auto;
436+ flex-direction : column;
437+ min-width : 0 ;
438+ min-height : 0 ;
439+ overflow : hidden;
432440 width : 100% ;
433441 height : 100% ;
434442 ` ,
435443 pluginsTabPanel : css `
436444 display : flex;
445+ flex : 1 1 auto;
437446 flex-direction : row;
447+ min-width : 0 ;
448+ min-height : 0 ;
438449 width : 100% ;
439450 height : 100% ;
440451 overflow : hidden;
@@ -503,9 +514,28 @@ const stylesFactory = (theme: DevtoolsStore['settings']['theme']) => {
503514 }
504515 ` ,
505516 pluginsTabContent : css `
517+ display : flex;
518+ flex-direction : column;
519+ flex : 1 1 auto;
520+ min-width : 0 ;
521+ min-height : 0 ;
522+ overflow : hidden;
506523 width : 100% ;
507524 height : 100% ;
508525
526+ & > * {
527+ flex : 1 1 auto;
528+ min-width : 0 ;
529+ min-height : 0 ;
530+ height : 100% ;
531+ }
532+
533+ & > * > * {
534+ min-width : 0 ;
535+ min-height : 0 ;
536+ height : 100% ;
537+ }
538+
509539 & : not (: last-child ) {
510540 border-right : 5px solid ${ t ( colors . purple [ 200 ] , colors . purple [ 800 ] ) } ;
511541 }
You can’t perform that action at this time.
0 commit comments