Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

Commit

Permalink
Improve menu height/scrolling when taller than viewport
Browse files Browse the repository at this point in the history
- Fixes #14
  • Loading branch information
mmistakes committed Jun 28, 2016
1 parent 641e9eb commit e4dece8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _sass/_dl-menu.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.dl-menuwrapper {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
Expand Down Expand Up @@ -123,11 +124,11 @@
}
.dl-menu {
margin: 0;
position: absolute;
position: relative;
width: 100%;
max-width: 400px;
max-height: 90%;
overflow-y: auto;
max-height: 600px;
overflow-x: hidden;
opacity: 0;
pointer-events: none;
box-shadow: 0 12px 24px rgba($black,0.4);
Expand All @@ -140,7 +141,6 @@
z-index: inherit;
@media #{$medium} {
@include border-radius(3px,3px,3px,3px);
max-height: 650px;
}
}
.dl-menu.dl-menu-toggle {
Expand Down

0 comments on commit e4dece8

Please sign in to comment.