Prevent the page content from jumping when you navigate between screens where one screen has a scrollbar and the other doesn't.

This commit is contained in:
Aleksander Helgaker 2019-08-26 19:07:34 +02:00
parent cf1bea9f34
commit a528e8838a

View File

@ -7,6 +7,7 @@ html {
body { body {
margin: 0; margin: 0;
margin-left: calc(100vw - 100%);
font-family: $typographic-font-family; font-family: $typographic-font-family;
color: $typographic-base-font-color; color: $typographic-base-font-color;
line-height: $typographic-base-line-height; line-height: $typographic-base-line-height;