Skip to content

Commit ce5df45

Browse files
committed
fix: minor updates & improvements
1 parent a9a32d0 commit ce5df45

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/shared/ui/Modal.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ export const Modal = ({ children, modalTitle, ...props }: ModalProps) => {
2929
center
3030
classNames={{
3131
// eslint-disable-next-line tailwindcss/no-custom-classname
32-
modal: `${cn('shadow-none m-0 w-84 rounded-lg p-6 dark:bg-black tablet:w-[350px]', modalTitle === 'Need help' && 'max-tablet:w-84')}`,
32+
modal: cn(
33+
'shadow-none m-0 w-84 rounded-lg p-6 dark:bg-black tablet:w-[350px]',
34+
modalTitle === 'Need help' && 'max-tablet:w-84'
35+
),
3336
closeButton: 'focus-visible:styled-outline',
3437
closeIcon: 'dark:fill-white size-4.5',
3538
overlay: 'backdrop-saturate-150 backdrop-blur-md'

0 commit comments

Comments
 (0)