Skip to content

Commit

Permalink
fix(hero): makes container overlap banner
Browse files Browse the repository at this point in the history
affects: @buildit/gravity-ui-web
  • Loading branch information
James Nash committed May 21, 2019
1 parent 0bbddb1 commit aef22c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions packages/gravity-ui-web/package-lock.json

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

Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
object-position: center;
}

.grav-o-container {
position: relative;
margin-top: 0;
}

.grav-c-hero__container {
@include grav-color-grp-a-apply('background-color', 'neutral', false);

Expand All @@ -30,7 +25,8 @@

width: calc(100% - #{$grav-sp-m * 2});
max-width: $grav-page-content-max-width - ($container-horizontal-max-margin * 2);
margin: ($container-vertical-shift * -1) auto 0;
position: relative; // Needed to let container DIV overlap banner IMG element
margin: (-1 * $container-vertical-shift) auto 0;
padding: $container-vertical-shift $grav-sp-m $grav-sp-m $grav-sp-m;

> * {
Expand Down

0 comments on commit aef22c2

Please sign in to comment.