Skip to content

Commit

Permalink
style: remove unnecessary z-index on content-area
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanMiu committed May 24, 2023
1 parent 70bde5d commit f5e574f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions theme/themes/eea/extras/custom.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,6 @@
}
}


// ensure background of content-box goes above the content area
// draft image for non published pages
.view-viewview:not(.wf-state-published) .content-area {
z-index: 0;
}

// remove margin from block headings overriding blocks.less rule
.block h1:last-child, .block h2:last-child, .block h3:last-child, .block h4:last-child, .block h5:last-child {
margin: 0;
Expand Down

1 comment on commit f5e574f

@razvanMiu
Copy link
Contributor Author

@razvanMiu razvanMiu commented on f5e574f May 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this removed?

If the main navigation (nav-1) is sticky and inside of content-area we have another sticky navigation(nav-2) the nav-2 will be behind nav-1 if z-index: 0 is present on .content-area

Please sign in to comment.