fix(docs): keep section tab typography stable on hover
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user