Skip to content

Commit f365691

Browse files
authored
Fixing Tags so they properly truncate if wider than the container (#6966)
* Fixing Tags so they properly truncate if wider than the container * revert story change
1 parent 591e672 commit f365691

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/@react-spectrum/s2/src/TagGroup.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,8 @@ function ActionGroup(props) {
443443
const tagStyles = style({
444444
...focusRing(),
445445
display: 'inline-flex',
446+
boxSizing: 'border-box',
447+
maxWidth: 'full',
446448
verticalAlign: 'middle',
447449
alignItems: 'center',
448450
justifyContent: 'center',

0 commit comments

Comments
 (0)