Skip to content

Commit

Permalink
Update to inline-flex for label container
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Dow committed Dec 14, 2023
1 parent ac7c449 commit 53c3e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Label.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function LabelComponent<X extends Only<Xss<LabelXss>, X>>(props: LabelProps<X>)
<label
{...labelProps}
{...others}
css={{ ...Css.df.aic.gap1.sm.gray700.mbPx(inline ? 0 : 4).if(contrast).white.$, ...xss }}
css={{ ...Css.dif.aic.gap1.sm.gray700.mbPx(inline ? 0 : 4).if(contrast).white.$, ...xss }}
>
{label}
{suffix && ` ${suffix}`}
Expand Down

0 comments on commit 53c3e0f

Please sign in to comment.