Skip to content

Commit

Permalink
fix(SegmentedToggle): fit root width to content size
Browse files Browse the repository at this point in the history
Closes UXD-1673
  • Loading branch information
ajkl2533 committed Nov 26, 2024
1 parent 516c755 commit 307d5b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/forms/SegmentedToggle/SegmentedToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const { useContext, Provider } = createCtx<SegmentedToggleContext>(
);

const SegmentedToggleRoot = styled(Padbox)`
width: fit-content;
display: inline-block;
background-color: var(--sscds-color-neutral-alpha-3);
box-shadow: inset 0 0 0 1px var(--sscds-color-neutral-alpha-3);
Expand Down

0 comments on commit 307d5b0

Please sign in to comment.