Small fixes for the drawer

This commit is contained in:
Stephan
2022-10-06 09:10:01 +02:00
parent 340521e4bb
commit 87a3b9daca
2 changed files with 7 additions and 5 deletions
+5 -3
View File
@@ -8,10 +8,12 @@
} }
#detleph-fg-context { #detleph-fg-context {
width: 100%; position: absolute;
height: 100%; top: 0;
left: 0;
right: 0;
bottom: 0;
position: relative;
overflow: hidden; overflow: hidden;
} }
+2 -2
View File
@@ -23,9 +23,9 @@ const UIDrawer: React.FC<{ children: React.ReactNode }> = ({ children }) => {
return ( return (
<motion.div <motion.div
className={styles.drawer} className={styles.drawer}
initial={{ y: "100vh" }} initial={{ y: "100%" }}
animate={{ y: "0%" }} animate={{ y: "0%" }}
exit={{ y: "100vh" }} exit={{ y: "100%" }}
transition={{ type: "tween" }} transition={{ type: "tween" }}
> >
{children} {children}