Skip to content

Commit 8cdedad

Browse files
authored
Fix Navbar Opening On Mobile (SimplQ#261)
1 parent 3c44dcb commit 8cdedad

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

simplq/src/styles/homePage.module.scss

+2-4
Original file line numberDiff line numberDiff line change
@@ -220,11 +220,9 @@
220220
background-color: #3a3768;
221221
position: fixed;
222222
top: 0;
223-
$type: open;
224-
@if $type == open {
223+
transform: translateX(100%);
224+
&[open] {
225225
transform: translateX(0);
226-
} @else {
227-
transform: translateX(100%);
228226
}
229227
right: 0;
230228
height: 100vh;

0 commit comments

Comments
 (0)