Skip to content

Commit e2031b1

Browse files
committed
make API navbar relative position like rest of site (#317)
1 parent a15e98b commit e2031b1

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

app/styles/app.scss

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,10 @@ body {
1212
width: 100%;
1313
}
1414

15-
.header {
16-
z-index: 2;
17-
}
18-
@include media($medium-large-screen-up) {
15+
@include media($large-screen-up) {
1916
.header {
2017
top: 0;
2118
width: 100%;
22-
position: fixed;
2319
}
2420

2521
main.container {
@@ -29,7 +25,6 @@ body {
2925
main.container .content {
3026
position: relative;
3127
margin-right: 0;
32-
margin-top: $top-spacing;
3328
margin-bottom: 0;
3429
overflow:auto;
3530
padding: $base-spacing;

app/styles/components/_sidebar.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
z-index: 1;
66
padding: $small-spacing 0;
77

8-
@include media($medium-screen-up) {
9-
margin-top: 11em;
10-
}
11-
128
@include media($large-screen-up) {
139
// fixed sidebar, full height
1410
@include span-columns(3.5);
@@ -17,7 +13,6 @@
1713
border-bottom: 0;
1814
border-right: $base-border;
1915
padding: $small-spacing $base-spacing $base-spacing * 1.5;
20-
margin-top: 5em;
2116

2217
&::before {
2318
@include position(absolute, 0 0 0 -100vw);

0 commit comments

Comments
 (0)