Skip to content

Commit

Permalink
fix(docs-evergreen): Fix navbar overflowing and sticku sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrzejchalubek committed Dec 15, 2020
1 parent 3773a1c commit a9fe1ee
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 5 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# editorconfig.org

root = true

[*]
charset = utf-8
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
2 changes: 1 addition & 1 deletion src/_sass/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
&__container {
position: relative;
z-index: 1;
max-width: 1150px;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
padding-left: 15px;
Expand Down
2 changes: 1 addition & 1 deletion src/_sass/components/_stage.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.stage {
display: flex;
width: 100%;
max-width: 1150px;
max-width: 1200px;
margin: 0 auto;

@include breakpoint(large up) {
Expand Down
1 change: 0 additions & 1 deletion src/_sass/generics/_standardize.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ html {
box-sizing: border-box; /* 1 */
line-height: 1.15; /* 2 */
text-size-adjust: 100%; /* 3 */
overflow-x: hidden;
}

*,
Expand Down
6 changes: 5 additions & 1 deletion src/_sass/pages/_docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@
top: 0;
left: 0;
z-index: -1;
width: 100vw;
width: 100%;
height: 100%;
background-color: color(gray-50);
border-bottom: 1px solid color(gray-300);

@include breakpoint(xlarge up) {
width: 100vw;
}
}
}

Expand Down
3 changes: 2 additions & 1 deletion src/_sass/pages/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

&__body {
flex: 1;

max-width: 100%;

@include breakpoint(xlarge up) {
max-width: 690px;
}
Expand Down

0 comments on commit a9fe1ee

Please sign in to comment.