From 968787d692d29be63a95940df6e0445686f228f3 Mon Sep 17 00:00:00 2001 From: Jan Drewniak Date: Fri, 9 Sep 2022 11:49:51 -0400 Subject: [PATCH] Set top value for ToC when sticky header is enabled. Prevents the ToC from jumping down when the sticky header becomes visible. Bug: T314330 Change-Id: I11450d9062445d357859c6e48972f2ba37e597c6 --- resources/skins.vector.styles/components/StickyHeader.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/skins.vector.styles/components/StickyHeader.less b/resources/skins.vector.styles/components/StickyHeader.less index 3219254b3..82b21fb62 100644 --- a/resources/skins.vector.styles/components/StickyHeader.less +++ b/resources/skins.vector.styles/components/StickyHeader.less @@ -161,7 +161,7 @@ // T298836 Sticky header is only shown at higher resolutions @media ( min-width: @min-width-desktop ) { - .client-js .vector-sticky-header-visible { + .client-js .vector-feature-sticky-header-enabled { // T289817 Override other sticky element offsets to ensure that other // sticky elements (i.e. table headers) appear below the sticky header. //