[wp-trac] [WordPress Trac] #54251: Twenty Twenty: Vertical buttons spacing on frontend dependent on margins

WordPress Trac noreply at wordpress.org
Tue Oct 19 19:19:52 UTC 2021


#54251: Twenty Twenty: Vertical buttons spacing on frontend dependent on margins
---------------------------+------------------------------
 Reporter:  stacimc        |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by stacimc):

 The Buttons gap PR has been merged so this can be tested on trunk. To
 test:

 1. Use the Twenty Twenty theme
 2. Insert a Buttons block into a new post and add several buttons, enough
 so that they wrap onto multiple rows.
 3. View the post on the frontend.
 4. Observe that the row-gap between buttons has decreased considerably. If
 you inspect the buttons, you will see that this is because the margins
 applied by the theme styles are overridden in favor of the new gap-based
 spacing.

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


More information about the wp-trac mailing list