We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a09e30 commit c98c36bCopy full SHA for c98c36b
sass/main.scss
@@ -286,6 +286,7 @@ a {
286
287
// Mobile menu
288
.mobile-menu {
289
+ display: none;
290
position: fixed;
291
top: var(--nav-height);
292
right: 0;
@@ -294,12 +295,13 @@ a {
294
295
height: calc(100vh - var(--nav-height));
296
background: #fff;
297
z-index: 95;
- transform: translateX(100%);
298
- transition: transform 0.3s ease;
299
overflow-y: auto;
300
padding: 1rem;
+ transform: translateX(100%);
301
+ transition: transform 0.3s ease;
302
303
&.active {
304
+ display: block;
305
transform: translateX(0);
306
}
307
0 commit comments