Content should handle margins in regards to sidenav state OOTB
See original GitHub issueContinuing #5589 since I never got a response:
https://codesandbox.io/s/long-flower-p3jgd
Here is a CodeSandbox which demonstrates the following:
- If the sidenav is expanded on smaller screens, you can NOT click outside the sidenav to close it.
- On larger screens, the sidenav covers the
Content
instead of it accomodating the fixed sidenav. - Styling on new versions is completely inconsistent with the outdated docs, as seen in the sidenav.
For the 10th time, bx–offset-lg-3 bx–col-lg-13 is a hack job, and changes from screen to screen. Content should actually serve a purpose instead of being a useless div, it should accomodate the EXACT width of the SideNav. Furthermore, the docs should be updated such that we don’t have to post 10 issues to address the same problem only to be pointed to outdated information.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Angular Incorrect Margin-Left Applied To Sidenav Content
I have an Angular project using Angular Material but I'm running into a bug where sometimes the mat-sidenav-content has a margin-left: 365px; ...
Read more >Understanding Flexbox: Everything you need to know
This article will cover all the fundamental concepts you need to get good with the CSS Flexbox model. It's a long one, so...
Read more >Multi-Column Layouts Climb Out of the Box - A List Apart
We all know the problems that arise when we try to build multi-column layouts in which the columns are of equal height. It...
Read more >Lightning Aura Components Developer Guide
Make your Lightning components available in Experience Builder so administrators can build community pages without code.
Read more >The Ways Chief Executive Officers Lead
Chief executives must learn on the job how to lead a company, and they must ... (See the sidebar “What's Personality Got to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah ok awesome, I’ll give that a try!
Ya that’s probably a better way of putting it. On that same note, SideNav should also close when you click outside of it, on the overlay.