Skip to content

Commit

Permalink
fix: #main div stretching too much, elixirschool#1751 (elixirschool#1753
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Tajinder Chumber committed Mar 21, 2019
1 parent 57e3881 commit c421162
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _assets/stylesheets/layout/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#main {
@include vendor('flex-grow', '1');
@include vendor('flex-shrink', '1');
width: 100%;
width: calc(100vw - #{_size(sidebar-width)});

> .inner {
@include padding(0, 6em);
Expand All @@ -21,6 +21,8 @@
}

@include breakpoint(xlarge) {
width: calc(100vw - #{_size(sidebar-width-alt)});

> .inner {
@include padding(0, 5em);

Expand Down

0 comments on commit c421162

Please sign in to comment.