Skip to content

Node.js based forum software built for the modern web

improved animations for mobileMenu again (opacity). need to check if this seriously slows down older devices.

psychobunny2a304c5c9096
diff --git a/public/css/style.less b/public/css/style.less
index abe74ca575..815bfb654a 100644
--- a/public/css/style.less
+++ b/public/css/style.less
@@ -592,7 +592,6 @@ body .navbar .nodebb-inline-block {
}
#mobile-menu-overlay {
- display: none;
background: rgba(0, 0, 0, 0.85);
position: fixed;
@@ -609,9 +608,9 @@ body .navbar .nodebb-inline-block {
-ms-transition: opacity 150ms ease;
-o-transition: opacity 150ms ease;
transition: opacity 150ms ease;
-
+ z-index: -1;
&.menu-visible {
- display: block;
+ z-index: 99;
opacity: 1;
}