Skip to content

Commit

Permalink
Add padding if hero block is not full-width
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed Jun 13, 2022
1 parent fa39656 commit 808b839
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions theme/themes/eea/extras/hero.less
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
display: inline-block;
}

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

.eea.hero-block.full-height,
.eea.hero-block.full-height .hero-block-image,
.eea.hero-block.full-height .hero-block-inner-wrapper {
Expand Down

0 comments on commit 808b839

Please sign in to comment.