Mobil menu improvments.

This commit is contained in:
Fredrik Jonsson 2017-08-01 14:12:28 +02:00
commit 3c897e0650
2 changed files with 44 additions and 13 deletions

View file

@ -46,8 +46,11 @@
// Wrapper for any blocks placed in the header region.
&__region {
@include padding(.5 0);
@include respond-to(s) {
margin-left: auto;
padding: 0;
@include rtl() {
margin-right: auto;

View file

@ -24,3 +24,10 @@
@extend %hidden;
}
}
.nojs-hidden,
%nojs-hidden {
html.nojs & {
@extend %hidden;
}
}