Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#56242 closed defect (bug) (wontfix)

Problem with Core CSS

Reported by: mrsoheilsani's profile mrsoheilsani Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.0
Component: Editor Keywords:
Focuses: ui, css, coding-standards Cc:

Description (last modified by sabernhardt)

Problem in block asset in
/wp-includes/css/dist/block-library/style.min.css?ver=6.0.1

Code:

.wp-block-columns {
    align-items: normal!important;
}

The !important tag on align-items seems not necessary. It just makes compatibility problems with third-party plugins and custom CSS codes.

Change History (3)

#1 @sabernhardt
2 years ago

  • Component changed from General to Editor
  • Description modified (diff)
  • Keywords move-to-github added; needs-design-feedback removed

Hi and welcome to Trac!

Because this involves the block editor, the report belongs on the Gutenberg GitHub Repository. Could you open a new issue?

A comment in the SCSS file explains that !important overrides inline styles in Layout block supports, but maybe there is a better option.

#2 @desrosj
2 years ago

  • Keywords close added

Adding the close keyword to make it easier to circle back to later.

#3 @desrosj
2 years ago

  • Keywords move-to-github close removed
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

It's been 3 months without any activity. I'm going to close this one out.

@mrsoheilsani if you are experiencing a specific issue as a result of this and still feel this is something that should be addressed, please open an issue upstream as requested by @sabernhardt.

Note: See TracTickets for help on using tickets.