Skip to content

Commit

Permalink
Fix ToggleChipGroup layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Dow committed May 14, 2024
1 parent a0b94f0 commit d247902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inputs/ToggleChipGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function ToggleChipGroup(props: ToggleChipGroupProps) {

return (
<div {...groupProps} css={Css.relative.df.fdc.if(labelStyle === "left").fdr.maxw100.$}>
<Label label={label} {...labelProps} hidden={hideLabel} />
<Label label={label} {...labelProps} hidden={hideLabel} inline={labelStyle === "left"} />
<div css={Css.df.gap1.add("flexWrap", "wrap").if(labelStyle === "left").ml2.$}>
{options.map((o) => (
<ToggleChip
Expand Down

0 comments on commit d247902

Please sign in to comment.