fix(mobile): increase font sizes and other mobile-centric improvements (#1907)
This commit is contained in:
@@ -52,7 +52,7 @@ const getClassName = (
|
||||
const cursor = disabled ? 'cursor-not-allowed' : 'cursor-pointer'
|
||||
const width = fullWidth ? 'w-full' : 'w-fit'
|
||||
const padding = small ? 'px-3 py-1.5' : 'px-4 py-1.5'
|
||||
const textSize = small ? 'text-xs' : 'text-sm'
|
||||
const textSize = small ? 'text-sm lg:text-xs' : 'text-base lg:text-sm'
|
||||
const rounded = isRounded ? 'rounded' : ''
|
||||
|
||||
let colors = primary ? getColorsForPrimaryVariant(style) : getColorsForNormalVariant(style)
|
||||
|
||||
@@ -21,7 +21,9 @@ const RoundIconButton = forwardRef(
|
||||
return (
|
||||
<button
|
||||
className={classNames(
|
||||
'bg-text-padding m-0 flex h-8.5 min-w-8.5 cursor-pointer items-center justify-center rounded-full border border-solid border-border bg-clip-padding text-neutral hover:bg-contrast hover:text-text focus:bg-contrast focus:text-text focus:outline-none focus:ring-info md:h-8 md:min-w-8',
|
||||
'bg-text-padding m-0 flex h-10 min-w-10 cursor-pointer items-center justify-center rounded-full border',
|
||||
'border-solid border-border bg-clip-padding text-neutral hover:bg-contrast hover:text-text focus:bg-contrast',
|
||||
'focus:text-text focus:outline-none focus:ring-info md:h-8 md:min-w-8',
|
||||
className,
|
||||
)}
|
||||
onClick={click}
|
||||
|
||||
Reference in New Issue
Block a user