theme: style: make position sticky work correctly
Parents cannot have `overflow: hidden`. Also removed position absolute for the wrapper and instead rely on inline-block for horizontal center
This commit is contained in:
parent
1c6fa0ec7d
commit
2f2611f498
|
@ -7,7 +7,6 @@ html, body {
|
||||||
font-family: 'Fira Sans', sans-serif;
|
font-family: 'Fira Sans', sans-serif;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
text-shadow: 0 0 3px #dddddd;
|
text-shadow: 0 0 3px #dddddd;
|
||||||
overflow-x: hidden;
|
|
||||||
color: rgb(100, 100, 100);
|
color: rgb(100, 100, 100);
|
||||||
scrollbar-color: #E91E63 #00000000;
|
scrollbar-color: #E91E63 #00000000;
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
|
@ -47,8 +46,6 @@ body {
|
||||||
|
|
||||||
.page-wrapper {
|
.page-wrapper {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: absolute;
|
|
||||||
left: 25vw;
|
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
width: 60vw;
|
width: 60vw;
|
||||||
max-width: 1000px;
|
max-width: 1000px;
|
||||||
|
|
Loading…
Reference in a new issue