Fix search mode

This commit is contained in:
squidfunk
2016-12-28 17:13:07 +01:00
parent 5ee95e4fe2
commit 9d4a8409f9
5 changed files with 8 additions and 3 deletions

View File

@@ -51,8 +51,12 @@ body {
// Lock body to viewport height (e.g. in search mode)
&[data-md-state="lock"] {
height: 100%;
overflow: hidden;
// Hide container on iOS, or the body will not be locked correctly
.ios & .md-container {
display: none;
}
}
}
}

View File

@@ -298,6 +298,7 @@
box-shadow: 0 0.1rem 0 $md-color-black--lightest inset;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
// [tablet landscape]: Set absolute width to omit unnecessary reflow
@include break-at-device(tablet landscape) {