question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Content should handle margins in regards to sidenav state OOTB

See original GitHub issue

Continuing #5589 since I never got a response:

https://codesandbox.io/s/long-flower-p3jgd

Here is a CodeSandbox which demonstrates the following:

  1. If the sidenav is expanded on smaller screens, you can NOT click outside the sidenav to close it.
  2. On larger screens, the sidenav covers the Content instead of it accomodating the fixed sidenav.
  3. 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:closed
  • Created 4 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Mar 16, 2020

Ah ok awesome, I’ll give that a try!

1reaction
ghostcommented, Mar 13, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found