Make WordPress Core

Opened 4 years ago

Closed 3 years ago

#47167 closed defect (bug) (fixed)

admin css double min-width selector

Reported by: domaneni's profile Domaneni Owned by:
Milestone: 5.4 Priority: normal
Severity: minor Version:
Component: Editor Keywords: has-patch
Focuses: ui Cc:


I found weird css selector in post editor. Link to css is "/wp-includes/css/dist/edit-post/style.css". I think the second one should be max-width.

Windows 10, Chrome 74.0.3729.131

@media (min-width: 782px) and (min-width: 960px) { .edit-post-layout__content {
    margin-left: 160px; 

Attachments (1)

47167.diff (630 bytes) - added by mukesh27 4 years ago.

Download all attachments as: .zip

Change History (6)

#1 @Domaneni
4 years ago

  • Component changed from General to Administration
  • Focuses ui added

4 years ago


#2 @mukesh27
4 years ago

  • Keywords has-patch added
  • Version 5.1.1 deleted

#3 @desrosj
4 years ago

  • Keywords needs-testing needs-screenshots added
  • Severity changed from normal to minor

#4 follow-up: @sabernhardt
3 years ago

  • Component changed from Administration to Editor
  • Keywords close 2nd-opinion added

It seems this has been fixed. That bit of CSS is no longer in the block editor stylesheet as of WordPress 5.4.

(It was removed in Gutenberg 7.1 with pull request 18044.)

#5 in reply to: ↑ 4 @SergeyBiryukov
3 years ago

  • Keywords needs-testing needs-screenshots close 2nd-opinion removed
  • Milestone changed from Awaiting Review to 5.4
  • Resolution set to fixed
  • Status changed from new to closed

Thank for the ticket and the patch!

As per the comment above, I've confirmed that bit of CSS is no longer present as of WordPress 5.4.

Note: See TracTickets for help on using tickets.