mirror of
https://github.com/detleph/components.git
synced 2026-09-04 00:26:01 +02:00
Small fixes for the drawer
This commit is contained in:
@@ -8,10 +8,12 @@
|
||||
}
|
||||
|
||||
#detleph-fg-context {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,9 +23,9 @@ const UIDrawer: React.FC<{ children: React.ReactNode }> = ({ children }) => {
|
||||
return (
|
||||
<motion.div
|
||||
className={styles.drawer}
|
||||
initial={{ y: "100vh" }}
|
||||
initial={{ y: "100%" }}
|
||||
animate={{ y: "0%" }}
|
||||
exit={{ y: "100vh" }}
|
||||
exit={{ y: "100%" }}
|
||||
transition={{ type: "tween" }}
|
||||
>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user