WordPress.org

Make WordPress Core

Opened 14 months ago

Closed 3 months ago

#47167 closed defect (bug) (fixed)

admin css double min-width selector

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

Description

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) {
  body.auto-fold .edit-post-layout__content {
    margin-left: 160px; 
  }
}

Attachments (1)

47167.diff (630 bytes) - added by mukesh27 14 months ago.
Patch.

Download all attachments as: .zip

Change History (6)

#1 @Domaneni
14 months ago

  • Component changed from General to Administration
  • Focuses ui added

@mukesh27
14 months ago

Patch.

#2 @mukesh27
14 months ago

  • Keywords has-patch added
  • Version 5.1.1 deleted

#3 @desrosj
14 months ago

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

#4 follow-up: @sabernhardt
3 months 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 months 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.