This repository was archived by the owner on Jun 12, 2024. It is now read-only.
Repository navigation
increase zIndex for sticky sidebar - #134
Merged
Merged
Conversation
colleenmcginnis
suggested changes
May 30, 2019
colleenmcginnis
left a comment
Contributor
There was a problem hiding this comment.
Ugh. The problem with this is that the sidebar content is above the topbar content (using the Search component here to test):
We could consider:
- Using
innerZ={2}here - If that isn't enough... bump
TopbarStickertoinnerZ={4}
Z-indexes were a bit of a struggle in the initial development of these components. 🙈
Contributor
Author
|
🤦♂ thanks for catching that. I think the best method is to bump up TopbarSticker |
added 3 commits
May 30, 2019 16:31
* master: [search] Introduce search modal (#133)
katydecorah
pushed a commit
that referenced
this pull request
Jun 5, 2019
* master: add snapshot tests (#136) 0.15.1 Prepare 0.15.1 0.15.0 Prepare 0.15.0 [search] adds segment tracking for queries and clicks (#140) [search] add ability to filter results (#138) increase modal zindex to prevent collision with topbar sticker (#139) 0.14.0 Prepare 0.14.0 [PageLayout/TopbarSticker] increase zIndex (#134) [search] Introduce search modal (#133) prepare 0.13.0 adjust version-sort for XX.XX.XX format (#132)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

While reviewing https://github.com/mapbox/studio-manual/pull/73 I noticed that the sticky sidebar has a zIndex fight with the illustrations.
We updated the zIndex for the TopBarSticker to 3 in #67 and I think we should do the same for the sidebar sticky navigation.