Skip to content

Commit 70bb2b8

Browse files
committed
fix(devtools): allow plugin panel roots to scroll
1 parent cf89dcd commit 70bb2b8

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.changeset/router-plugin-scroll.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tanstack/devtools': patch
3+
---
4+
5+
Allow direct-mounted plugin panels to inherit full height for embedded scrolling.

packages/devtools/src/styles/use-styles.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,10 +664,20 @@ const stylesFactory = (theme: DevtoolsStore['settings']['theme']) => {
664664
pluginsTabContent: css`
665665
width: 100%;
666666
height: 100%;
667+
min-width: 0;
668+
min-height: 0;
669+
670+
& > * {
671+
min-width: 0;
672+
min-height: 0;
673+
width: 100%;
674+
height: 100%;
675+
}
667676
668677
& > * > * {
669678
min-width: 0;
670679
min-height: 0;
680+
width: 100%;
671681
height: 100%;
672682
}
673683

0 commit comments

Comments
 (0)