Added css to take account of vertical scroll bar and avoid content jumps
This commit is contained in:
parent
59e4e39a5d
commit
710cf83876
|
|
@ -1,4 +1,8 @@
|
||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
|
html{
|
||||||
|
margin-left: calc(100vw - 100%);
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
opacity: 0.95;
|
opacity: 0.95;
|
||||||
position:fixed;
|
position:fixed;
|
||||||
left:0px;
|
left:calc((100vw - 100%)/2);
|
||||||
top:0px;
|
top:0px;
|
||||||
width:100%;
|
width:100%;
|
||||||
z-index: 50;
|
z-index: 50;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue