chore: Remove flex-1 class from button component (#602)
This commit is contained in:
parent
6286027559
commit
a87d6260d7
|
@ -76,7 +76,7 @@ function Button(
|
||||||
{iconBefore}
|
{iconBefore}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
<span className="flex-1 whitespace-nowrap">{children}</span>
|
<span className="whitespace-nowrap">{children}</span>
|
||||||
{iconAfter && (
|
{iconAfter && (
|
||||||
<span className={iconStyles({ size, placement: 'after', variant })}>
|
<span className={iconStyles({ size, placement: 'after', variant })}>
|
||||||
{iconAfter}
|
{iconAfter}
|
||||||
|
|
Loading…
Reference in New Issue