Skip to content

Fix sidebar z-index #332

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Cookiecodess
Copy link

Due to the sidebar's z-index only being set to 10 when the sidebar-toggle is active, and unset when inactive, the sidebar appears to be below the other components of the main page content when sliding out of view. I fixed this by applying the z-index property to .sidebar regardless of whether sidebar-toggle is active or not.

Due to the sidebar's z-index only being set to 10 when the sidebar-toggle is active, and unset when inactive, the sidebar appears to be below the other components of the main page content when sliding out of view. I fixed this by applying the z-index property to .sidebar regardless of whether sidebar-toggle is active or not.
@Cookiecodess
Copy link
Author

Cookiecodess commented Apr 6, 2025

Here's a visualization of the issue.

recording.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant