WordPress.org

Make WordPress Core

Opened 7 months ago

Last modified 7 months ago

#49933 new defect (bug)

Some classes have no specificity on the back end admin area

Reported by: saltnpixels Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.4
Component: Administration Keywords:
Focuses: css, administration Cc:

Description

Now that we are using Gutenberg themes and blocks are adding more css to the back end to make our blocks have certain styles to match the front end.

Some classes like .card have issues because, while in our code we might have .special-block .card, the WordPress styles have .card with no added specificity and this makes adding styles difficult on the back end.

Can more specificity be added so that classes like this will be able to be used?

Change History (3)

#1 @davidbaumwald
7 months ago

  • Focuses css administration added

#2 @SergeyBiryukov
7 months ago

  • Component changed from General to Administration

This ticket was mentioned in Slack in #core-editor by peterwilsoncc. View the logs.


7 months ago

Note: See TracTickets for help on using tickets.