[wp-trac] [WordPress Trac] #56107: Twenty Seventeen: Button font size issue

WordPress Trac noreply at wordpress.org
Thu Jun 22 18:31:47 UTC 2023


#56107: Twenty Seventeen: Button font size issue
------------------------------+-------------------------
 Reporter:  nidhidhandhukiya  |       Owner:  (none)
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Bundled Theme     |     Version:  6.0
 Severity:  normal            |  Resolution:  worksforme
 Keywords:  has-patch         |     Focuses:
------------------------------+-------------------------
Changes (by sabernhardt):

 * keywords:  has-patch needs-testing => has-patch
 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the report!

 In WordPress 6.0, the editor had inserted an extra `.wp-block` div in
 between `.wp-block-buttons` and `.wp-block-button`, so the inheriting did
 not work with alignment options.
 {{{
 .wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-
 button__link{
   font-size:inherit;
 }
 }}}

 With WordPress 6.2, the alignment options are not the same, but I was not
 able to get the extra div with any alignment option.

 This works for me without editing the theme.

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


More information about the wp-trac mailing list