mirror of
https://github.com/status-im/wakuconnect-chat-sdk.git
synced 2025-01-23 18:39:46 +00:00
fix <Button />
text alignment (#587)
* fix <Button /> text alignment * Create stupid-pumpkins-grow.md
This commit is contained in:
parent
447cce7c92
commit
4452f0524f
5
.changeset/stupid-pumpkins-grow.md
Normal file
5
.changeset/stupid-pumpkins-grow.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@status-im/components": patch
|
||||
---
|
||||
|
||||
fix `<Button />` text alignment
|
@ -88,7 +88,7 @@ function Button(
|
||||
|
||||
const styles = cva({
|
||||
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',
|
||||
'disabled:pointer-events-none disabled:cursor-default disabled:opacity-[.3]',
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user