[wp-trac] [WordPress Trac] #60408: Twenty Nineteen: Theme block styles are not applied to blocks in the widget area

WordPress Trac noreply at wordpress.org
Tue Jul 16 06:39:59 UTC 2024


#60408: Twenty Nineteen: Theme block styles are not applied to blocks in the widget
area
---------------------------------------+-----------------------------
 Reporter:  poena                      |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  Future Release
Component:  Bundled Theme              |     Version:  5.8
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch needs-testing  |     Focuses:  css
---------------------------------------+-----------------------------

Comment (by poena):

 @sabernhardt @karmatosed Hi!
 In your opinion, what would be the preferred solution for making sure that
 the theme block styles are applied to blocks in the widget area, not only
 the post content?
 - Apply the styles by adding a selector with {{{.widget-area}}}
 - Removing {{{.entry .entry-content}}} selector

 Relevant files:
 https://core.trac.wordpress.org/browser/branches/6.6/src/wp-
 content/themes/twentynineteen/sass/blocks/_blocks.scss#L127

 https://core.trac.wordpress.org/browser/branches/6.6/src/wp-
 content/themes/twentynineteen/inc/color-patterns.php#L70

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60408#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list