Skip to content

Commit a9fe1ee

Browse files
fix(docs-evergreen): Fix navbar overflowing and sticku sidebar
1 parent 3773a1c commit a9fe1ee

File tree

6 files changed

+22
-5
lines changed

6 files changed

+22
-5
lines changed

.editorconfig

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

src/_sass/components/_footer.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
&__container {
1414
position: relative;
1515
z-index: 1;
16-
max-width: 1150px;
16+
max-width: 1200px;
1717
margin-left: auto;
1818
margin-right: auto;
1919
padding-left: 15px;

src/_sass/components/_stage.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.stage {
22
display: flex;
33
width: 100%;
4-
max-width: 1150px;
4+
max-width: 1200px;
55
margin: 0 auto;
66

77
@include breakpoint(large up) {

src/_sass/generics/_standardize.scss

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ html {
1616
box-sizing: border-box; /* 1 */
1717
line-height: 1.15; /* 2 */
1818
text-size-adjust: 100%; /* 3 */
19-
overflow-x: hidden;
2019
}
2120

2221
*,

src/_sass/pages/_docs.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,14 @@
3434
top: 0;
3535
left: 0;
3636
z-index: -1;
37-
width: 100vw;
37+
width: 100%;
3838
height: 100%;
3939
background-color: color(gray-50);
4040
border-bottom: 1px solid color(gray-300);
41+
42+
@include breakpoint(xlarge up) {
43+
width: 100vw;
44+
}
4145
}
4246
}
4347

src/_sass/pages/_page.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616

1717
&__body {
1818
flex: 1;
19-
19+
max-width: 100%;
20+
2021
@include breakpoint(xlarge up) {
2122
max-width: 690px;
2223
}

0 commit comments

Comments
 (0)