You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.
When the width of the sidebar is set using a media query (e.g. width: 20vw or @media...), and the window is resized, the main non-sidebar content resizes incorrectly.
Edit: Issue occurs if style is set via 'styles' prop, or if sidebar content width is set.
The text was updated successfully, but these errors were encountered:
mchong-teal
changed the title
Setting sidebar width via style causes strange resize behaviour
Responsive sidebar widths resize incorrectly
Jul 10, 2019
Fixed it by conditionally setting content width based on a media query sizing (using the styles prop). I suppose if I were using breakpoints I would need to add a custom class and provide my own css?
When the width of the sidebar is set using a media query (e.g.
width: 20vw
or@media...
), and the window is resized, the main non-sidebar content resizes incorrectly.Edit: Issue occurs if style is set via 'styles' prop, or if sidebar content width is set.
The text was updated successfully, but these errors were encountered: