Permalink
Browse files

Show menu expanded when Javascript is disabled

  • Loading branch information...
1 parent 7d59565 commit c731e8cc825e22f235450968aad1d86a985bc20f @mmistakes committed Dec 17, 2014
Showing with 12 additions and 0 deletions.
  1. +12 −0 _sass/_dl-menu.scss
View
@@ -319,6 +319,12 @@ All this is done for any sub-level being entered.
.dl-trigger {
display: none;
}
+ .dl-menuwrapper {
+ position: initial;
+ @media #{$medium} {
+ position: absolute;
+ }
+ }
.dl-menuwrapper .dl-menu {
position: relative;
opacity: 1;
@@ -339,6 +345,12 @@ All this is done for any sub-level being entered.
.dl-menuwrapper li > a:not(:only-child):after {
content: '';
}
+ .dl-menu {
+ max-height: 100%;
+ }
+ .dl-menu li {
+ display: block;
+ }
}
// Menu Color
.dl-menuwrapper button:hover,

0 comments on commit c731e8c

Please sign in to comment.