Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix z-index conflict between sticky-sidebar and the footer - #3754

Merged
fregante merged 1 commit into
masterfrom
z-index-hell
Nov 22, 2020
Merged

Fix z-index conflict between sticky-sidebar and the footer#3754
fregante merged 1 commit into
masterfrom
z-index-hell

Conversation

@fregante

Copy link
Copy Markdown
Member

Fixes #3732

This shouldn't make it any worse than sticky already does since, at most, it just brings the whole sidebar a little higher than the rest of the page, which is expected since it floats. Its contents and their z-index were also already trapped by sticky so they won't be affected by this.

All that this does is bring it above the regular z-index of the elements that follow the sidebar, like the footer.

If it causes issues, the alternative to #3732 would be to detect an "overlay details" opening/closing and toggling the "sticky-sidebar" class instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Footer is in front of the dialog

1 participant