[wp-trac] [WordPress Trac] #56474: Twenty Twenty: Fix social icons margin in widget area (was: Twenty Twenty: Fix social icons margin)

WordPress Trac noreply at wordpress.org
Thu Sep 1 16:53:54 UTC 2022


#56474: Twenty Twenty: Fix social icons margin in widget area
---------------------------+---------------------
 Reporter:  grandeljay     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  6.1
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  css
---------------------------+---------------------
Changes (by sabernhardt):

 * focuses:   => css
 * severity:  trivial => normal
 * component:  Themes => Bundled Theme
 * version:  trunk =>
 * milestone:  Awaiting Review => 6.1


Comment:

 Thanks for the report and the patch!

 If someone has customized the margin for `li` elements in other widget
 blocks, adding `:not()` to the theme's `.widget li` selector would
 override their custom margin.

 Adding something like this in a new "Widget: Blocks" sub-section (perhaps
 following "Widget: Text" under "Widgets") might be better:
 {{{
 .widget .wp-block-social-links li {
         margin-top: 0;
 }
 }}}

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


More information about the wp-trac mailing list