fix `<Button />` text alignment (#587)
* fix <Button /> text alignment * Create stupid-pumpkins-grow.md
This commit is contained in:
parent
447cce7c92
commit
4452f0524f
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"@status-im/components": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix `<Button />` text alignment
|
|
@ -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]',
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue