-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
feat(snippets): add a Dynamic Left Sidebar
#791
Conversation
Now all sides have equal margins.
A New Hover Panel that servers the same purpose as the legacy 'Hover Panels', but only for the left sidebar and without modifying any other elements.
Makes the left sidebar dynamic, so it only shows when you hover over it and pushes the main content to the right.
Does this replace the other new hover panel snippet? Should we remove it in the code? |
Function-wise, it replaces all hovering left sidebar snippets, both can be there in case someone prefers hovering instead of this dynamic one. |
Oh, the hover one goes on top of the content vs this moves it to the side? |
Exactly. This one pushes the main view to the right without blocking anything below it. |
Dynamic Left Sidebar Description
Motivation
New Hover Panel
feat(snippets): add aNew Hover Panel
#778 that fixed the legacyHover Panels.
But after some time using it, I found it blocks the beginning of a playlist(can be anything) when I hover the left sidebar that activates the hovering, which is the expected hovering behavior, but it's kinda annoying. Then I made this one to be like when you hover the left side edge, the LeftSidebar appears and pushes the content to the right so nothing is blocked.