Skip to content
Snippets Groups Projects
Commit f45210b8 authored by Chris Lawton's avatar Chris Lawton
Browse files

fix scrollbar issue taking up space in the dom

parent c9deda52
No related branches found
No related tags found
No related merge requests found
...@@ -16,10 +16,6 @@ html { ...@@ -16,10 +16,6 @@ html {
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
@supports(overflow-y: overlay) {
overflow-y: overlay;
}
} }
body { body {
...@@ -27,7 +23,13 @@ body { ...@@ -27,7 +23,13 @@ body {
&.no-scroll { &.no-scroll {
overflow-y: hidden; overflow-y: hidden;
} }
&.app-open {
@supports(overflow-y: overlay) {
overflow-y: overlay;
}
}
} }
// Prevent empty space below images appearing // Prevent empty space below images appearing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment