Skip to content

Commit 9c3998b

Browse files
committed
DOC-3147: Nested font sizes no longer cause excessive line spacing.
1 parent b3a9cdd commit 9c3998b

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

modules/ROOT/pages/8.0-release-notes.adoc

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
= {productname} {release-version}
32
:release-version: 8.0.0
43
:navtitle: {productname} {release-version}
@@ -148,6 +147,20 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
148147

149148
// CCFR here.
150149

150+
=== Nested font sizes no longer cause excessive line spacing
151+
// #TINY-12073
152+
153+
Previously, applying different font sizes to nested elements could result in inconsistent and overly large line heights. This affected users by introducing visual clutter and making text blocks appear misaligned or difficult to read.
154+
155+
{productname} {release-version} introduces a fix that ensures line heights are calculated based on the font size of the parent element, rather than the nested child elements. This means that when different font sizes are applied within the same content, the line heights will be consistent and proportional to the parent element's font size.
156+
157+
=== Improved font size inheritance for nested elements
158+
#TINY-12073
159+
160+
Previously, when applying a smaller font size inline within text that had a larger inherited font size (for example, 10pt text within a 24pt paragraph), the editor would create nested `<span>` elements. When creating new paragraphs or pasting content, these nested styles would be unexpectedly retained instead of reverting to the original inherited font size. This caused unintended style inheritance and inconsistent formatting in documents.
161+
162+
{productname} {release-version} resolves this by improving how font sizes are inherited and flattened when splitting paragraphs or pasting content. New paragraphs now correctly inherit the parent block's font size rather than retaining nested inline styles, ensuring more predictable and consistent text formatting.
163+
151164

152165
[[security-fixes]]
153166
== Security fixes

0 commit comments

Comments
 (0)