Skip to content

Commit

Permalink
fix: sidebar opening/close css class (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
pritam248 authored Oct 19, 2020
1 parent 723822a commit 7abdcb1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/SideNav/sidenav.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
transform: translateX(-100%);
transition: all 0.5s ease 0s;
height: 120vh;
@apply lil-z-20 lil-fixed lil-bg-white lil-overflow-x-hidden lil-w-screen lil-visible lil-left-0;
transform: translateX(0%);
@apply lil-z-20 lil-fixed lil-bg-white lil-overflow-x-hidden lil-w-screen lil-left-0;
}

.lil-sidenav-right-aligned {
Expand All @@ -13,12 +12,12 @@
@apply lil-right-0;
}

.lil-sidenav .lil-sidenav-open {
.lil-sidenav-open {
transform: translateX(0%);
@apply lil-block lil-visible;
}

.lil-sidenav-right-aligned .lil-sidenav-open {
.lil-right-aligned-sidenav-open {
transform: translateX(-100%);
@apply lil-block lil-visible;
}
Expand Down

0 comments on commit 7abdcb1

Please sign in to comment.