chore: Remove flex-1 class from button component (#602)

This commit is contained in:
Felicio Mununga 2024-10-11 11:26:30 +02:00 committed by GitHub
parent 6286027559
commit a87d6260d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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}