[wp-trac] [WordPress Trac] #49435: Twenty Twenty: inconsistent top and bottom margins for .alignwide and .alignfull on Chrome vs Safari (cross browser issue)

WordPress Trac noreply at wordpress.org
Thu May 7 17:47:51 UTC 2020


#49435: Twenty Twenty: inconsistent top and bottom margins for .alignwide and
.alignfull on Chrome vs Safari (cross browser issue)
--------------------------------------+-----------------------------
 Reporter:  kthmd                     |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Future Release
Component:  Bundled Theme             |     Version:  5.3
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:  css
--------------------------------------+-----------------------------
Changes (by nikhilbhansi):

 * keywords:  good-first-bug needs-patch => good-first-bug has-patch


Comment:

 The cover block was looking good in between the post but not on the top
 because of the ''8rem'' padding of ''div.post-inner'' element and an
 additional margin of the cover block.
 Solved the issue by giving ''margin-top: 0;'' when it will be on the top
 of the post, also taken care of bottom margin.

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


More information about the wp-trac mailing list