commit d50274812b275edff58418b3d17868385599fc14 parent ac8ed77afb359694a716501d9e87b0c9949b2445 Author: rsynnest <contact@rsynnest.com> Date: Tue, 14 Nov 2023 09:33:18 -0800 docs: adjust help-tag-right CSS for HTML #25858 Diffstat:
| M | scripts/gen_help_html.lua | | | 9 | ++++++--- |
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git 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) {