Skip to content

Commit

Permalink
fix: saadeghi#1888 remove translate on drawer-content
Browse files Browse the repository at this point in the history
  • Loading branch information
megagames-me committed Jun 13, 2023
1 parent 1964a0e commit 420ad11
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/components/unstyled/drawer.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@apply grid relative;
grid-auto-columns: max-content auto;
&-content {
@apply row-start-1 col-start-2 translate-x-0 transition-all;
@apply row-start-1 col-start-2;
}
&-side {
@apply w-full pointer-events-none grid grid-cols-1 grid-rows-1 items-start justify-items-start overscroll-contain row-start-1 col-start-1 fixed top-0 left-0 overflow-y-auto;
Expand All @@ -27,11 +27,8 @@
}
}
&-toggle {
@apply fixed h-0 w-0 appearance-none opacity-0;
@apply fixed h-0 w-0 appearance-none opacity-0;
&:checked {
& ~ .drawer-content {
@apply translate-x-2;
}
& ~ .drawer-side {
@apply visible pointer-events-auto;
& > *:not(.drawer-overlay) {
Expand Down

0 comments on commit 420ad11

Please sign in to comment.