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-size: 18px;
|
||||
text-shadow: 0 0 3px #dddddd;
|
||||
overflow-x: hidden;
|
||||
color: rgb(100, 100, 100);
|
||||
scrollbar-color: #E91E63 #00000000;
|
||||
scrollbar-width: thin;
|
||||
|
@ -47,8 +46,6 @@ body {
|
|||
|
||||
.page-wrapper {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
left: 25vw;
|
||||
padding-top: 10px;
|
||||
width: 60vw;
|
||||
max-width: 1000px;
|
||||
|
|
Loading…
Reference in a new issue