Skip to content

Admin menu collapses for 960px width but editor doesn't #19732

Closed

Description

@garretthyder

Describe the bug
This was originally noted by @JJJ on core Trac here - https://core.trac.wordpress.org/ticket/49212
After reproducing and investigating I found the issue lies in Gutenberg here;

@include editor-left(".edit-post-editor-regions");

*This mixing creates a min-width: 960px breakpoint, editing in inspect to 961px resolved the issue.

To reproduce
Steps to reproduce the behaviour:

  1. Install WP Trunk or Gutenberg latest plugin
  2. Navigate to the Editor
  3. Resize your browser to exactly 960px wide
  4. See white gap on the left.

Expected behavior
The editor and menu should respond together.

Screenshots
Screen Shot 2020-01-16 at 7 12 55 PM

Details

  • OS: macOS Catalina 10.15.2
  • Browser: Chrome 79.0.3945.117
  • WP: Trunk

Activity

  1. added
    [Type] Bug
    on Jan 23, 2020
  2. jorgefilipecosta commented on Jan 29, 2020

    @jorgefilipecosta
    Member

    Hi @garretthyder, I'm not being able to reproduce this issue. Maybe it was resolved as a side effect of another change. Would it be possible to repeat the test on the last version of Gutenberg (or even better Gutenberg master) with the last version of WordPress trunk?

  3. garretthyder commented on Jan 29, 2020

    @garretthyder
    ContributorAuthor

    Thanks for testing @jorgefilipecosta I just retested using WP trunk and Gutenberg master and was able to reproduce the issue. It is a little difficult to reproduce as it's only present at exactly 960px. At 956 or 961 the issue dissappears.
    Myself I see the issue daily as I use Divvy to split my screen in two and 960px is exactly half so everytime I load the editor in half a screen the issue presents itself.

    Let me know if you're still unable to reproduce.

  4. jorgefilipecosta commented on Jan 30, 2020

    @jorgefilipecosta
    Member

    Thank you I think I was being affected by other parallel change. In my last test, I was able to reproduce the issue.

  5. added
    [Status] In Progress
    on Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

[Status] In Progress[Type] Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions