Skip to content

Commit

Permalink
fix(container): undoes layout regression caused by previous "fix"
Browse files Browse the repository at this point in the history
affects: @buildit/gravity-ui-web
  • Loading branch information
dw-buildit committed Jun 20, 2019
1 parent a578cfd commit d5c86ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/gravity-ui-web/src/sass/01-tools/_container.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// a simple mixin to create a container for the page
@mixin grav-l-container($no-margin: false) {
width: 100%;
width: calc(100% - #{2 * $grav-sp-page-content-inset});
max-width: $grav-page-content-max-width;
margin-right: $grav-sp-page-content-inset;
margin-left: $grav-sp-page-content-inset;
Expand All @@ -16,6 +16,7 @@
}

@media (min-width: grav-breakpoint(extra-large)) {
width: 100%;
margin-right: auto;
margin-left: auto;
}
Expand Down

0 comments on commit d5c86ad

Please sign in to comment.