Modal animation and dialog

This commit is contained in:
Max Lynch
2020-12-21 19:49:37 -06:00
parent 100c444676
commit ebead6b1ab
4 changed files with 20 additions and 11 deletions
+2 -2
View File
@@ -55,9 +55,9 @@ const Modal = ({ open, onClose, children }) => {
ref={ref}
{...bind()}
className={classNames(
'fixed z-40 top-5 transform transform-gpu ease-in-out duration-300 translate w-full h-full bg-white rounded-t-lg',
'fixed z-40 top-5 transform transform-gpu ranslate w-full h-full bg-white rounded-t-lg',
{
'transition-transform': !dragging,
'ease-in-out duration-300 transition-transformation': !dragging,
}
)}
style={{