From d50274812b275edff58418b3d17868385599fc14 Mon Sep 17 00:00:00 2001 From: rsynnest Date: Tue, 14 Nov 2023 09:33:18 -0800 Subject: docs: adjust help-tag-right CSS for HTML #25858 --- scripts/gen_help_html.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'scripts/gen_help_html.lua') diff --git a/scripts/gen_help_html.lua b/scripts/gen_help_html.lua index 633207e018..706335342d 100644 --- a/scripts/gen_help_html.lua +++ b/scripts/gen_help_html.lua @@ -967,13 +967,16 @@ local function gen_css(fname) /* Tag pseudo-header common in :help docs. */ .help-tag-right { color: var(--tag-color); - margin-left: auto; - margin-right: 0; - float: right; + background-color: inherit; + display: flex; + justify-content: right; + margin-top: 1.5em; + margin-bottom: 1em; } .help-tag a, .help-tag-right a { color: inherit; + background-color: var(--accent-bg-color); } .help-tag a:not(:hover), .help-tag-right a:not(:hover) { -- cgit