aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsynnest <contact@rsynnest.com>2023-11-14 09:33:18 -0800
committerGitHub <noreply@github.com>2023-11-14 09:33:18 -0800
commitd50274812b275edff58418b3d17868385599fc14 (patch)
tree9d38286fa83b054136d8dbf287d39175939b50b4
parentac8ed77afb359694a716501d9e87b0c9949b2445 (diff)
downloadrneovim-d50274812b275edff58418b3d17868385599fc14.tar.gz
rneovim-d50274812b275edff58418b3d17868385599fc14.tar.bz2
rneovim-d50274812b275edff58418b3d17868385599fc14.zip
docs: adjust help-tag-right CSS for HTML #25858
-rw-r--r--scripts/gen_help_html.lua9
1 files changed, 6 insertions, 3 deletions
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) {