-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sidebar): Improve collapsible sidebars on mobile (#1084)
* fix(safari): Use `-webkit-` prefix for `backdrop-filter` * fix: Apply main-bg color to background of layout container when sidebar is expanded on mobile * fix: Sidebar `fg` follows main `bg` color * feat: Sidebar toggle position on smaller screens (#1085) * feat: Put collapse toggle in header grid row when collapsible on mobile * feat: Remove unused sidebar toggle gutter from page-sidebar on <= lg screens For lg or smaller screens, screen real-estate is limited and we don't need padding on both sides of the main content area, only on the side with the collapse toggle button. * feat: Avoid main area under the collapse toggle * feat: Also remove unused sidebar gutter for page_navbar() * fix: Apply bslib-page-dashboard bg correctly on mobile Need to set `--_main-bg` at the layout container and reset `background-color` rather than `--_main-bg` at the `.main` level * chore(sidebar): remove backdrop-filter blur on mobile * fix: bslib-page-dashboard background color
- Loading branch information
Showing
7 changed files
with
117 additions
and
44 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.