From f365691009fcdd430aea878b4e0a611351fe4e16 Mon Sep 17 00:00:00 2001 From: Daniel Lu Date: Thu, 29 Aug 2024 12:51:35 -0700 Subject: [PATCH] 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 --- packages/@react-spectrum/s2/src/TagGroup.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/@react-spectrum/s2/src/TagGroup.tsx b/packages/@react-spectrum/s2/src/TagGroup.tsx index ab22ace9c9f..7d66611d862 100644 --- a/packages/@react-spectrum/s2/src/TagGroup.tsx +++ b/packages/@react-spectrum/s2/src/TagGroup.tsx @@ -443,6 +443,8 @@ function ActionGroup(props) { const tagStyles = style({ ...focusRing(), display: 'inline-flex', + boxSizing: 'border-box', + maxWidth: 'full', verticalAlign: 'middle', alignItems: 'center', justifyContent: 'center',