fix(docs): keep section tab typography stable on hover

This commit is contained in:
maoyingjie
2026-10-28 00:11:22 +08:00
parent d616df3159
commit b49e3a9b42
+5 -2
View File
@@ -127,7 +127,9 @@ html {
gap: 12px;
height: 100%;
}
.docs-nav-sections nav .hv-link {
/* Section tabs keep their text treatment on hover; selection controls color. */
.docs-nav-sections nav .hv-link,
.docs-nav-sections nav .hv-link:is(:hover, [data-hovered="true"]) {
text-decoration: none;
display: inline-flex;
align-items: center;
@@ -718,7 +720,8 @@ html {
.docs-nav-sections nav {
gap: 20px;
}
.docs-nav-sections nav .hv-link {
.docs-nav-sections nav .hv-link,
.docs-nav-sections nav .hv-link:is(:hover, [data-hovered="true"]) {
font-size: 13px;
padding-bottom: 6px;
}