From e41e56913bf44147ae1d5e91f743b68ca57b6977 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 16 Jun 2025 15:16:34 +1000 Subject: [PATCH 1/2] DOC-3147: Nested font sizes no longer cause excessive line spacing. --- modules/ROOT/pages/8.0-release-notes.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/ROOT/pages/8.0-release-notes.adoc b/modules/ROOT/pages/8.0-release-notes.adoc index 7c62f25b54..f5e429652b 100644 --- a/modules/ROOT/pages/8.0-release-notes.adoc +++ b/modules/ROOT/pages/8.0-release-notes.adoc @@ -148,6 +148,13 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a // CCFR here. +=== Nested font sizes no longer cause excessive line spacing +// #TINY-12073 + +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. + +{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. + [[security-fixes]] == Security fixes From 030b616bc6532f0abec078d94fdcf14530cc21d5 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Fri, 11 Jul 2025 14:50:33 +1000 Subject: [PATCH 2/2] Update modules/ROOT/pages/8.0-release-notes.adoc --- modules/ROOT/pages/8.0-release-notes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/8.0-release-notes.adoc b/modules/ROOT/pages/8.0-release-notes.adoc index f5e429652b..9b3543b876 100644 --- a/modules/ROOT/pages/8.0-release-notes.adoc +++ b/modules/ROOT/pages/8.0-release-notes.adoc @@ -153,7 +153,7 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a 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. -{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. +{productname} {release-version} introduces a fix that ensures line heights are calculated based on the font size visible in the new line, rather than inheriting line-height from parent element. This means that when different font sizes are applied within the same content, the line heights will be consistent and proportional to the visible font size. [[security-fixes]]