Skip to content

Commit 37184e5

Browse files
authored
Set min width to support ellipsis on child (#28)
1 parent 808d883 commit 37184e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/components/src/tree-item/tree-item.styles.ts

+1
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ export const treeItemStyles: FoundationElementTemplate<
161161
align-items: center;
162162
white-space: nowrap;
163163
width: 100%;
164+
min-width: 0;
164165
height: calc(${heightNumber} * 1px);
165166
margin-inline-start: calc(${designUnit} * 2px + 8px);
166167
font-size: ${typeRampBaseFontSize};

0 commit comments

Comments
 (0)