Skip to content

Commit

Permalink
change(theme): ensure that only direct children of container have a d…
Browse files Browse the repository at this point in the history
…efault top and bottom margin
  • Loading branch information
ichim-david committed Nov 18, 2022
1 parent f2eec7d commit 7f8b8dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theme/themes/eea/globals/site.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ h2, h3, h4, h5, h6 {
--layout-max-width: @wideWidth;
}

// add a 1rem margin top and bottom on all styled classes
[class*="styled-"] {
// add a 1rem margin top and bottom on all direct styled classes from container
[class~="container"] > [class*="styled-"] {
margin-top: @rem-space-4;
margin-bottom: @rem-space-4;
}
Expand Down

0 comments on commit 7f8b8dc

Please sign in to comment.