Skip to content

Commit 80f236d

Browse files
authored
fix(devtools): Fix progressively smaller font size for Explorer (TanStack#2886)
Fix progressively smaller font size for Explorer entries in devtools Set Entry font-size to 1em, because it is indented multiple time within each other. This causes the font to get smaller and smaller as `em` is relative to the parent font size.
1 parent bfef84c commit 80f236d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/devtools/Explorer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { styled } from './utils'
66

77
export const Entry = styled('div', {
88
fontFamily: 'Menlo, monospace',
9-
fontSize: '0.9em',
9+
fontSize: '1em',
1010
lineHeight: '1.7',
1111
outline: 'none',
1212
wordBreak: 'break-word',

0 commit comments

Comments
 (0)