Modal animation

This commit is contained in:
Max Lynch
2020-12-21 19:39:27 -06:00
parent 6ce26c8941
commit 100c444676
+1 -1
View File
@@ -55,7 +55,7 @@ const Modal = ({ open, onClose, children }) => {
ref={ref}
{...bind()}
className={classNames(
'fixed z-40 top-5 transform transform-gpu translate w-full h-full bg-white rounded-t-lg',
'fixed z-40 top-5 transform transform-gpu ease-in-out duration-300 translate w-full h-full bg-white rounded-t-lg',
{
'transition-transform': !dragging,
}