Added css to take account of vertical scroll bar and avoid content jumps

This commit is contained in:
Sam Fearn 2019-07-18 15:47:15 +01:00 committed by Maruan
parent 59e4e39a5d
commit 710cf83876
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,8 @@
@charset "UTF-8";
html{
margin-left: calc(100vw - 100%);
margin-right: 0;
}
html, body {
height: auto;

View File

@ -3,7 +3,7 @@
background-color: #fff;
opacity: 0.95;
position:fixed;
left:0px;
left:calc((100vw - 100%)/2);
top:0px;
width:100%;
z-index: 50;