Skip to content

Commit e49f372

Browse files
committed
Merge branch 'matthewbbrandt-fix/tree-icons'
2 parents dbd5fe3 + 3f43d55 commit e49f372

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/common/components/Button/styles.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ export default ({ margin }: { margin?: string }) => css`
3838
&.suffix {
3939
margin-left: ${margin || 0};
4040
}
41+
42+
&.no-shrink {
43+
flex-shrink: 0;
44+
}
4145
4246
div {
4347
text-align: left;

src/tree/CellTree.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const CellTree = <T extends TableNode>({
102102
<Cell {...passThrough}>
103103
<div css={style}>
104104
<Button
105-
className="prefix narrow"
105+
className="prefix narrow no-shrink"
106106
margin={icon ? mergedTreeIconOptions.margin : mergedTreeIconOptions.noIconMargin}
107107
onClick={handleClick}
108108
>

0 commit comments

Comments
 (0)