Improve menu scrolling on small screens

This commit is contained in:
Michael Rose
2014-02-26 15:20:30 -05:00
parent 062be19e2f
commit ae95c7192b
3 changed files with 11 additions and 9 deletions

View File

@ -71,12 +71,12 @@
p {
margin: 0;
padding: 15px 20px;
.font-rem(12);
.font-rem(14);
color: fade(@white,80);
a {
display: inline;
padding: 0;
.font-rem(12);
.font-rem(14);
}
}
i {
@ -125,6 +125,8 @@
position: absolute;
width: 100%;
max-width: 400px;
overflow-y: auto;
max-height: 600px;
opacity: 0;
pointer-events: none;
box-shadow: 0 12px 24px fade(@black,35);
@ -136,7 +138,6 @@
backface-visibility: hidden;
@media @medium {
.border-radius(3px,3px,3px,3px);
overflow-y: auto;
max-height: 650px;
}
}