From ce46db5d5b01907ea83e5b117cda104e67b8f10e Mon Sep 17 00:00:00 2001 From: Matthew Woehlke Date: Mon, 9 Mar 2026 14:03:44 -0400 Subject: [PATCH] Help: Fix version notes on small screens Commit 097d8fa7a5 (Help: Fix overlapping text in footnotes, 2025-04-21, v4.0.2~20^2) tweaked the CSS to fix an issue with footnotes whose content was version added/changed/removed information. This inadvertently failed to update the 'small screen' rules, which caused the hanging indent on these to be incorrect for small screens. Update those rules to reflect the prior changes. --- Utilities/Sphinx/static/cmake.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Utilities/Sphinx/static/cmake.css b/Utilities/Sphinx/static/cmake.css index 06e19a5598..7fe8292b39 100644 --- a/Utilities/Sphinx/static/cmake.css +++ b/Utilities/Sphinx/static/cmake.css @@ -308,9 +308,9 @@ table.docutils td { padding-left: 10px; } - div.deprecated > :first-child, - div.versionadded > :first-child, - div.versionchanged > :first-child { + :not(.footnote) > div.deprecated > :first-child, + :not(.footnote) > div.versionadded > :first-child, + :not(.footnote) > div.versionchanged > :first-child { text-indent: -10px; }