[wp-trac] [WordPress Trac] #52589: Twenty Twenty-One: Paragraph padding isn’t inherited in some div

WordPress Trac noreply at wordpress.org
Tue Feb 23 13:22:25 UTC 2021


#52589: Twenty Twenty-One: Paragraph padding isn’t inherited in some div
---------------------------+------------------------------
 Reporter:  ooker          |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  5.6.1
 Severity:  major          |  Resolution:
 Keywords:                 |     Focuses:  ui, css
---------------------------+------------------------------

Comment (by poena):

 The theme does add top and bottom margin for all WordPress blocks.
 See https://core.trac.wordpress.org/browser/trunk/src/wp-
 content/themes/twentytwentyone/assets/sass/03-generic/vertical-
 margins.scss?rev=50410

 In this case the plugin author has chosen to use a non standard name for
 their blocks, that the theme does not cover. For example "inner-block"
 instead of "inner-container".

 It is not possible for a theme to make sure that the CSS is never affected
 by plugins, because there is an endless number of plugins.

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


More information about the wp-trac mailing list