Ensure button text stays centered
This commit is contained in:
parent
966fcc617a
commit
6458ebbb11
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ const useButtonStyles = ({
|
||||||
size,
|
size,
|
||||||
}: IButtonStyles) => {
|
}: IButtonStyles) => {
|
||||||
const buttonStyle = clsx({
|
const buttonStyle = clsx({
|
||||||
'inline-flex items-center border font-medium rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 appearance-none transition-all': true,
|
'inline-flex items-center place-content-center border font-medium rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 appearance-none transition-all': true,
|
||||||
'select-none disabled:opacity-75 disabled:cursor-default': disabled,
|
'select-none disabled:opacity-75 disabled:cursor-default': disabled,
|
||||||
[`${themes[theme]}`]: true,
|
[`${themes[theme]}`]: true,
|
||||||
[`${sizes[size]}`]: true,
|
[`${sizes[size]}`]: true,
|
||||||
|
|
Loading…
Reference in a new issue