Skip to content

Commit

Permalink
change(header): use variable for homepage hero-block padding
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Jun 13, 2022
1 parent 4ea2f40 commit 89ff344
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion theme/themes/eea/extras/hero.less
Expand Up @@ -36,7 +36,7 @@
}

.hero-block[class*='color-bg']:not(.full-width) {
padding: 0 1.5rem;
padding: @heroBlockHomepagePadding;
}

.eea.hero-block.full-height,
Expand Down
1 change: 1 addition & 0 deletions theme/themes/eea/extras/hero.variables
Expand Up @@ -8,6 +8,7 @@
@desktopHeroBlockMinHeight: 665px;

@heroBlockPosition: relative;
@heroBlockHomepagePadding: 0 @rem-space-5;

/* Background Image */
@heroBlockImageBackgroundRepeat : no-repeat;
Expand Down

0 comments on commit 89ff344

Please sign in to comment.