[wp-trac] [WordPress Trac] #49933: Some classes have no specificity on the back end admin area

WordPress Trac noreply at wordpress.org
Fri Apr 17 16:11:51 UTC 2020


#49933: Some classes have no specificity on the back end admin area
--------------------------+-----------------------------
 Reporter:  saltnpixels   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.4
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49933>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list