[wp-trac] [WordPress Trac] #61753: Twenty Eleven & Twenty Twelve: Code block does not adjust font size with block settings (was: The Code block does not adjust font size with block settings into the twenty-eleven & twenty-twelve themes.)
WordPress Trac
noreply at wordpress.org
Thu Jul 25 17:21:10 UTC 2024
#61753: Twenty Eleven & Twenty Twelve: Code block does not adjust font size with
block settings
-------------------------------------+-----------------------------
Reporter: viralsampat | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses: css
-------------------------------------+-----------------------------
Changes (by sabernhardt):
* keywords: needs-testing dev-feedback has-patch => needs-testing has-
patch
* version: 6.6.1 =>
* milestone: Awaiting Review => Future Release
Comment:
As with Twenty Thirteen (#61697), Twenty Eleven and Twenty Twelve set the
same font size for both the `pre` and `code` elements.
With [attachment:"61753.patch"], a `code` element would inherit the font
size when it is nested inside a `pre` tag. In Twenty Twelve, this only
applies within `entry-content` or `comment-content`; code in a widget
honors the block's font size without any adjustment.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61753#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list