chore: fix mobile modal actions

This commit is contained in:
Aman Harwara
2023-05-12 20:58:12 +05:30
parent 214f299563
commit 499fa1a1a9

View File

@@ -14,7 +14,7 @@ const MobileModalAction = forwardRef(
<button
ref={ref}
className={classNames(
'flex whitespace-nowrap py-1 px-1 text-base font-semibold focus:shadow-none focus:outline-none active:shadow-none active:outline-none disabled:text-neutral md:hidden',
'flex select-none whitespace-nowrap py-1 px-1 text-base font-semibold focus:shadow-none focus:outline-none active:shadow-none active:outline-none active:brightness-50 disabled:text-neutral md:hidden',
slot === 'left' ? 'justify-start text-left' : 'justify-end text-right',
type === 'cancel' || type === 'destructive' ? 'text-danger' : 'text-info',
className,