-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Layout: Improve layout paneling for short viewports #2909
Conversation
Testing instructions : Copied from #2800.
|
ac3704f
to
3a03480
Compare
Rebased to resolve conflicts with the stacked toolbar introduced in #2998. Since it wasn't well illustrated in my original comment, here is a before and after for when scrolling to the bottom while the viewport is shorter than the menu:
|
Visually this looks good to me, it seems to behave as it should responsively! Nice work. I'm seeing an issue with what's probably pasting. I have this textexpansion I use for testing lots of text:
When this expands in master, it works fine. When I expand that in this branch, I get the following error: Is that a node caching ghost or an issue with this branch? |
3a03480
to
6f6ee6e
Compare
Since there's only styling changes here, I don't expect I could introduce an unhandled error from these revisions, or one would hope 😄 Instead, I think it's just the time that this branch was merged there was an issue in master, probably introduced in #3171 and later resolved in #3205. I rebased and force pushed. If you delete your local copy of the branch ( |
Can confirm, those JS errors are gone. 👍 👍 nice work! |
Related: #2800
This pull request seeks to resolve styling issues observed related to paneling introduced in #2800 , specifically in short viewports or dashboards where many sidebar navigation items exist (I first noticed the issue when using Gutenberg on a WordCamp site). The changes here try an alternative approach for occupying the full height of the screen in more contexts. Previously, the specific height
calc
style would not account for cases where the sidebar has a scrollbar.Testing instructions:
Repeat testing instructions from #2800, particularly with varying viewport widths and heights and sidebars expanded and collapsed.