Skip to content

Commit cdb6c77

Browse files
LeCarbonatorLuca
andauthored
fix: prevent tab icons from collapsing (#352)
* fix: prevent tab icons from collapsing * chore: add changeset --------- Co-authored-by: Luca <luca@luca-laptop.int.dr-jakob.ch>
1 parent 176382a commit cdb6c77

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/warm-humans-pull.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+
prevent sidebar icons from collapsing

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,9 @@ const stylesFactory = (theme: DevtoolsStore['settings']['theme']) => {
423423
background-color: transparent;
424424
color: ${colors.gray[300]};
425425
}
426+
& > svg {
427+
flex-shrink: 0;
428+
}
426429
`,
427430
tabContent: css`
428431
transition: all 0.2s ease-in-out;

0 commit comments

Comments
 (0)