Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#56242 closed defect (bug) (wontfix)

Problem with Core CSS

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

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
4 years ago

  • Component GeneralEditor
  • 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
4 years ago

  • Keywords close added

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

#3 @desrosj
4 years ago

  • Keywords move-to-github close removed
  • Milestone Awaiting Review
  • Resolutionwontfix
  • Status newclosed

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.