mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
simplify styles
This commit is contained in:
parent
3024cde1b1
commit
9f1a067a89
|
@ -61,12 +61,7 @@ function Modal({
|
||||||
<div className={clsx('z-navigation', 'fixed top-0 left-0', 'w-full h-full', 'cc-modal-backdrop')} />
|
<div className={clsx('z-navigation', 'fixed top-0 left-0', 'w-full h-full', 'cc-modal-backdrop')} />
|
||||||
<motion.div
|
<motion.div
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={clsx(
|
className={clsx('z-modal', 'fixed m-auto', 'border shadow-md', 'clr-app')}
|
||||||
'z-modal',
|
|
||||||
'fixed bottom-1/2 left-1/2 -translate-x-1/2 translate-y-1/2',
|
|
||||||
'border shadow-md',
|
|
||||||
'clr-app'
|
|
||||||
)}
|
|
||||||
initial={{ ...animateModal.initial }}
|
initial={{ ...animateModal.initial }}
|
||||||
animate={{ ...animateModal.animate }}
|
animate={{ ...animateModal.animate }}
|
||||||
exit={{ ...animateModal.exit }}
|
exit={{ ...animateModal.exit }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user