Skip to content

Commit 245d6bd

Browse files
committed
style: expander icon has proper size
1 parent 86351b8 commit 245d6bd

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/common/Row.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const rowStyles = ({ level }: IRowProps) => {
3333
css`
3434
user-select none;
3535
36-
&:nth-of-type(even) {
36+
&:nth-of-type(even) {
3737
background-color ${theme.row.evenBg};
3838
color ${theme.row.evenFg || theme.canvas.fg};
3939
}
@@ -42,10 +42,6 @@ export const rowStyles = ({ level }: IRowProps) => {
4242
background-color ${theme.row.hoverBg};
4343
color ${theme.row.hoverFg || theme.canvas.fg};
4444
}
45-
46-
i {
47-
font-size 11px
48-
}
4945
`,
5046
];
5147
};

src/renderers/renderProp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export const renderProp = ({
179179
>
180180
{expandable ? (
181181
<Flex justifyContent="center" mt={1} pl="0.5rem" mr="0.5rem" ml="-1.5rem" width="1rem">
182-
<Icon icon={expanded ? faCaretDown : faCaretRight} />
182+
<Icon size="1x" icon={expanded ? faCaretDown : faCaretRight} />
183183
</Flex>
184184
) : null}
185185

0 commit comments

Comments
 (0)