Skip to content

Commit 3701d5b

Browse files
Remove max-height from the wrapper
1 parent f5117de commit 3701d5b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

css/main.css

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ body {
4040

4141
.navbar {
4242
float: left;
43+
position: -webkit-sticky;
4344
position: sticky;
4445
top: 0;
45-
overflow-y: scroll;
4646
text-align: left;
47+
height: fit-content;
4748
width: 15em;
4849
padding: 2em;
4950
}
@@ -80,9 +81,7 @@ body {
8081
display: -ms-flexbox;
8182
display: flex;
8283
margin: 0 auto;
83-
max-height: 100vh;
84-
overflow-x: hidden;
85-
overflow-y: scroll;
84+
width: 100%;
8685
justify-content: center;
8786
}
8887

@@ -93,7 +92,6 @@ body {
9392
-webkit-flex-direction: column;
9493
-ms-flex-direction: column;
9594
flex-direction: column;
96-
max-height: fit-content;
9795
}
9896
.site {
9997
-webkit-box-ordinal-group: 3;

0 commit comments

Comments
 (0)