Skip to content

Commit

Permalink
fix(contentBox): z-index is placed on before instead of the relative …
Browse files Browse the repository at this point in the history
…content-box-inner

- otherwise when you get the search or menu mega menu you will see part of
  the icons from the items with icons section
  • Loading branch information
ichim-david committed Jul 19, 2023
1 parent 76eb5ac commit ab4f2e7
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/contentBox.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
margin-right: -50vw;
left: 50%;
right: 50%;
z-index: @contentBoxBeforeZIndex;
}

.content-box {
Expand All @@ -28,7 +29,6 @@
padding-top: @contentBoxContainerMarginTop;
padding-bottom: @contentBoxContainerMarginBottom;
position: relative;
z-index: @contentBoxContainerZIndex;
}

&.primary {
Expand Down
1 change: 1 addition & 0 deletions theme/themes/eea/extras/contentBox.variables
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@contentBoxBackgroundColor: @grey-1;
@contentBoxNoBackground: transparent;
@contentBoxColorInverted : inherit;
@contentBoxBeforeZIndex: -1;

/* Themes */
@contentBoxBackgroundColorPrimary: @primaryColor;
Expand Down

0 comments on commit ab4f2e7

Please sign in to comment.