-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
feat: improve vertical sidebar with minification, theme mode and user menu when header is disabled #2043
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
base: dev
Are you sure you want to change the base?
feat: improve vertical sidebar with minification, theme mode and user menu when header is disabled #2043
Conversation
… menu when header is disabled
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
wow, it looks awesme! |
…ove-vertical-sidebar
Would be a really great feature to have at the same time some |
Hi,
I saw that an issue has been open for some time #1803 concerning the improvement of the sidebar in vertical mode.
I've made some modifications for my needs, so I'm proposing a PR with the code.
I've tried to use as little javascript as possible with the bootstrap collapse system, but I'd like your opinion on whether you think this is a good idea or whether it's preferable to use dedicated management.
I've added a sidebar.js script to manage tooltips when the sidebar is minimized.
I've also added a button to switch from dark to light mode and a user menu that opens over the sidebar to avoid conflicts.
I added these two elements because when the header is not in use, access to the user menu and dark mode is not possible.
Don't hesitate to give me feedback on what's wrong so that I can propose an improvement.
Here's how it looks:





Thanks