Skip to content

Commit

Permalink
fix a documentation site css issue with aligning body content next to…
Browse files Browse the repository at this point in the history
… navdrawer
  • Loading branch information
sesemaya committed Jan 19, 2017
1 parent 3fcaffd commit d0850d1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions assets/sass-project/project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
padding-top: ($toolbar-height * 2);

@include media-breakpoint-up(lg) {
.navdrawer-permanent + {
.navdrawer-permanent ~ & {
margin-left: $navdrawer-width-mobile;
}
}
}

.doc-main {
@include media-breakpoint-up(lg) {
.navdrawer-permanent + {
.navdrawer-permanent ~ & {
margin-left: $navdrawer-width-mobile;
}
}
Expand All @@ -28,7 +28,7 @@
position: fixed;

@include media-breakpoint-up(lg) {
.navdrawer-permanent + {
.navdrawer-permanent ~ & {
margin-left: $navdrawer-width-mobile;
}
}
Expand Down
6 changes: 3 additions & 3 deletions css/project.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
padding-top: 7rem;
}
@media (min-width: 1280px) {
.doc-jumbotron .navdrawer-permanent + {
.navdrawer-permanent ~ .doc-jumbotron {
margin-left: 17.5rem;
}
}

@media (min-width: 1280px) {
.doc-main .navdrawer-permanent + {
.navdrawer-permanent ~ .doc-main {
margin-left: 17.5rem;
}
}
Expand All @@ -22,7 +22,7 @@
position: fixed;
}
@media (min-width: 1280px) {
.doc-toolbar .navdrawer-permanent + {
.navdrawer-permanent ~ .doc-toolbar {
margin-left: 17.5rem;
}
}
2 changes: 1 addition & 1 deletion css/project.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/project.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d0850d1

Please sign in to comment.