Skip to content

Commit

Permalink
Fix sidebar paddings
Browse files Browse the repository at this point in the history
  • Loading branch information
Gina Contrino committed Jan 12, 2018
1 parent 876f267 commit bb46cb1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 12 additions & 2 deletions src/components/app/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ body {

& > section {
width: 100%;
padding-left: calc(var(--sidebar-width) + 24px);
padding-right: 24px;
}

& > aside {
position: fixed;
width: var(--sidebar-width);
height: 100%;
top: 0;
left: 0;
Expand Down Expand Up @@ -91,6 +89,18 @@ body {
}
}

@media (--large-viewport) {
.bodyWrapper {
& > section {
padding-left: calc(var(--sidebar-width) + 24px);
}

& > aside {
width: var(--sidebar-width);
}
}
}

@media (--large-viewport) {
body {
font-size: 15px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/mainMenu/mainMenu.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
box-shadow: none;
width: 100% !important;
border: none !important;
padding: 25px 10px !important;
padding: 20px 10px !important;
}

.navigationContainer {
Expand Down

0 comments on commit bb46cb1

Please sign in to comment.