fix: lang-switch hover text was invisible (later rule reset color to dark over a black background)
This commit is contained in:
@@ -505,6 +505,9 @@ img { filter: none; }
|
||||
border-bottom: 1px dotted;
|
||||
z-index: 2;
|
||||
}
|
||||
.lang-switch:hover { color: var(--color-text-primary); border-bottom: 1px solid; }
|
||||
/* hover state comes from the shared "main a:hover, footer a:hover,
|
||||
.lang-switch:hover" rule above (invert to black bg + white text) — a
|
||||
second, later rule here used to override just the text color back to
|
||||
dark, leaving black-on-black on hover. */
|
||||
/* no static width reservation needed here anymore — syncLangSwitch() (shell.js)
|
||||
already hides the toggle the moment a long line would reach it */
|
||||
|
||||
Reference in New Issue
Block a user