Closed robinpoort closed 7 years ago
Move the mobile indicator to inside the menu element so namespaced CSS won't kill the functionality.
Right now when you namespace CSS like so (using SCSS):
.namespacer { @import "responsivemenu"; }
You get this:
.namespacer #rm-mobile-indicator { ... }
While the indictor itself is prepended to the <body> element like so:
<body>
<body> <nav>...</nav> <div id="rm-mobile-indicator"></div> </body>
Placing it inside the menu element would give us:
<body> <nav> <ul>...</ul> <div id="rm-mobile-indicator"></div> </nav> </body>
Shouldn't be a problem since the indicator itself virtually has no visible styling.
Closed in v1.1.5
Move the mobile indicator to inside the menu element so namespaced CSS won't kill the functionality.
Right now when you namespace CSS like so (using SCSS):
You get this:
While the indictor itself is prepended to the
<body>
element like so:Placing it inside the menu element would give us:
Shouldn't be a problem since the indicator itself virtually has no visible styling.