[wp-trac] [WordPress Trac] #54550: The margin added at the top level styles (for body) in theme.json is override by a margin added from Gutenberg

WordPress Trac noreply at wordpress.org
Wed Dec 1 15:29:11 UTC 2021


#54550: The margin added at the top level styles (for body) in theme.json is
override by a margin added from Gutenberg
--------------------------+-----------------------------
 Reporter:  get_dave      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  minor         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Companion Issue for https://github.com/WordPress/gutenberg/issues/36147.

 Essentially any margin added to the root element via theme.json is
 overwritten by a CSS reset margin value provided by the Gutenberg Plugin.
 The theme.json setting should take precedence.

 I have a PR ready in https://github.com/WordPress/gutenberg/pull/36960
 which requires a similar fix in WP Core.

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


More information about the wp-trac mailing list