Skip to content

Commit fa66463

Browse files
committed
Try to fix scroll issue
The container contents is pushed off screen to the left
1 parent 8fc660d commit fa66463

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

styles/tenfoot.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ html {
4242

4343
main {
4444
flex: 1;
45+
padding-left: 100vw; // scuffed
4546
display: flex;
4647
flex-direction: column;
4748
overflow: hidden;
@@ -122,6 +123,7 @@ header {
122123

123124
scroll-behavior: smooth;
124125
scroll-snap-type: x mandatory;
126+
padding-inline: 3rem;
125127

126128
/* IE / Edge Legacy */
127129
-ms-overflow-style: none;
@@ -151,6 +153,7 @@ header {
151153
font-size: clamp(0.1rem, 1vw, 6rem);
152154
height: 25em;
153155
width: 25em;
156+
scroll-margin-inline: 30rem;
154157

155158
&:hover,
156159
&:focus {

0 commit comments

Comments
 (0)