[wp-trac] [WordPress Trac] #60880: Twenty Nineteen: paragraph does not inherit font size from parent block within the editor (was: Twenty Nineteen : Details Block Typography is not working properly)
WordPress Trac
noreply at wordpress.org
Wed Apr 3 04:01:21 UTC 2024
#60880: Twenty Nineteen: paragraph does not inherit font size from parent block
within the editor
-------------------------------------------------+-------------------------
Reporter: pitamdey | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Bundled Theme | Version: 5.0
Severity: normal | Resolution:
Keywords: has-testing-info needs-patch has- | Focuses: ui, css
screenshots |
-------------------------------------------------+-------------------------
Changes (by sabernhardt):
* focuses: ui => ui, css
* version: 6.4.3 => 5.0
Comment:
When a Group or Columns block has its own font size and contains Paragraph
blocks, the paragraphs do not match the special font size from those
parent blocks either. On the front end, the paragraphs match Group,
Columns or Details block font sizes.
Version note: Although the Typography setting was not available with
WordPress 5.0 and Twenty Nineteen 1.0, entering a `has-larger-font-size`
class for a Columns block already would have had the same issue in the
editor. The `style-editor.scss` stylesheet has targeted the `p` element in
addition to `body` since
[https://github.com/WordPress/twentynineteen/blob/be850d11ee31434ad700db518ff8570f82e65b9c
/style-editor.scss#L37-L39 initial commit], yet the
[https://core.trac.wordpress.org/browser/trunk/src/wp-
content/themes/twentynineteen/style.css?rev=57886&marks=2216,2226#L2214
front-end stylesheet] sets font size on the `html` and `body` elements
instead.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60880#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list