Skip to content

Commit f23d7d5

Browse files
committed
docs(fix[widgets/mcp-install]): drop tab transition that flickered on theme resolve
The 120ms `transition: color, border-color, background` on `.lm-mcp-install__tab` animated whenever Furo's CSS variables recomputed — including the moment gp-sphinx's FOWT script set `body[data-theme]` and unhid the body. `visibility:hidden` does not pause transitions, so the in-flight animation tail leaked into view as a brief tab-BG flicker on initial paint with a saved selection. Same failure mode gp-sphinx fixed on Furo's `.sig` in 88f7a8b. Tabs now snap on hover/click, matching that precedent. The prehydrate machinery in `_prehydrate.py` (669fbc2) was already correct; nothing else needed to change.
1 parent f9e1fd5 commit f23d7d5

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

docs/_widgets/mcp-install/widget.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
padding: 0.45rem 0.9rem;
3838
margin: 0;
3939
white-space: nowrap;
40-
transition: color 120ms, border-color 120ms, background 120ms;
4140
}
4241

4342
.lm-mcp-install__tab:hover {

0 commit comments

Comments
 (0)