fix `<Button />` text alignment (#587)

* fix <Button /> text alignment

* Create stupid-pumpkins-grow.md
This commit is contained in:
pavel 2024-10-01 16:02:35 +02:00 committed by GitHub
parent 447cce7c92
commit 4452f0524f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"@status-im/components": patch
---
fix `<Button />` text alignment

View File

@ -88,7 +88,7 @@ function Button(
const styles = cva({ const styles = cva({
base: [ base: [
'inline-flex shrink-0 cursor-pointer select-none items-center justify-center gap-1 font-medium transition-all', 'inline-flex shrink-0 cursor-pointer select-none items-center justify-center gap-1 text-center font-medium transition-all',
'outline-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-customisation-50 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-neutral-100', 'outline-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-customisation-50 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-neutral-100',
'disabled:pointer-events-none disabled:cursor-default disabled:opacity-[.3]', 'disabled:pointer-events-none disabled:cursor-default disabled:opacity-[.3]',
], ],