Ensure button text stays centered

This commit is contained in:
Chewbacca 2023-03-28 11:49:35 -04:00
parent 966fcc617a
commit 6458ebbb11

View file

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