From 9d7dde9af9473a8815f15f46ab5802b3e0c17837 Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Wed, 11 Dec 2024 10:55:20 +1100 Subject: [PATCH] Increase indent of figures This carries some risk, but on balance, I think that it is a good change. We see a lot of documents that include sourcecode or ASCII art that appears at the same indent level as the rest of the text. This makes it hard to visually distinguish figures. This increases the indent for these, where possible. It retains the indentation flexbox hack that ensures that wider figures reduce the margin. The risk is that this will double the indent where people have manually added one. The text formatter of xml2rfc doesn't add an indent, so this is also an inconsistency in appearance. My hope is that xml2rfc will be updated to match, with people learning not to add their own indentation to documents. --- ietf/static/css/document_html_txt.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/static/css/document_html_txt.scss b/ietf/static/css/document_html_txt.scss index a5991056c9..fd3b8fdb7a 100644 --- a/ietf/static/css/document_html_txt.scss +++ b/ietf/static/css/document_html_txt.scss @@ -334,7 +334,7 @@ div:is(.artwork, .sourcecode).alignRight { justify-content: end; } div:is(.artwork, .sourcecode)::before { - flex: 0 1 3ch; + flex: 0 1 6ch; content: ""; } div:is(.artwork, .sourcecode).alignRight::before {