Skip to content

Commit 9c2fb3e

Browse files
Merge pull request #23369: [Website] fix navbar footer overlap
2 parents 2955954 + 9811eee commit 9c2fb3e

File tree

8 files changed

+12
-6
lines changed

8 files changed

+12
-6
lines changed

website/www/site/assets/scss/_global.sass

+2-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ body
7676
margin-right: auto
7777

7878
.body__section-nav
79-
margin-left: 256px
79+
margin-left: 6px
8080
width: calc(100% - 492px)
8181

8282
> [id]:before
@@ -97,6 +97,7 @@ body
9797
position: relative
9898
background-color: #fff
9999
margin-top: 64px
100+
display: flex
100101

101102
@media (min-width: $tablet)
102103
margin-top: 0

website/www/site/assets/scss/_lists.scss

+4
Original file line numberDiff line numberDiff line change
@@ -315,3 +315,7 @@
315315
height: 44px;
316316
}
317317
}
318+
319+
.arrow-list--no-mt {
320+
margin-top: 0;
321+
}

website/www/site/assets/scss/_playground.sass

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727

2828
.playground-section
2929
padding: 15px 30px 15px
30+
max-width: 1200px
31+
margin-left: auto
32+
margin-right: auto
3033
h1
3134
text-align: center
3235
margin-top: 0

website/www/site/assets/scss/_section-nav.scss

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*/
1717
.section-nav {
1818
max-width: 250px;
19-
position: absolute;
2019
width: 100%;
2120
overflow-y: auto;
2221
background-color: #fbfbfb;

website/www/site/layouts/contribute/arrow_template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
{{ .TableOfContents }}
3232
</nav>
3333

34-
<div class="body__contained body__section-nav arrow-list">
34+
<div class="body__contained body__section-nav arrow-list arrow-list--no-mt">
3535
{{ .Content }}
3636
{{ partial "feedback.html" . }}
3737
</div>

website/www/site/layouts/documentation/baseof.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
{{ .TableOfContents }}
3232
</nav>
3333

34-
<div class="body__contained body__section-nav arrow-list">
34+
<div class="body__contained body__section-nav arrow-list arrow-list--no-mt">
3535
{{ .Content }}
3636
{{ partial "feedback.html" . }}
3737
</div>

website/www/site/layouts/languages/baseof.html

-1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@
3838
{{ partial "footer.html" . }}
3939
</body>
4040
</html>
41-

website/www/site/layouts/runners/arrow_template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
{{ .TableOfContents }}
3232
</nav>
3333

34-
<div class="body__contained body__section-nav arrow-list">
34+
<div class="body__contained body__section-nav arrow-list arrow-list--no-mt">
3535
{{ .Content }}
3636
{{ partial "feedback.html" . }}
3737
</div>

0 commit comments

Comments
 (0)