[ToC] Increase threshold for ToC collapsing to 1000px

Bug: T306904
Change-Id: Ib3ad66a8f4ccf9c5ba323031821d6e681069bde5
This commit is contained in:
Jon Robson 2022-04-26 10:11:33 -07:00 committed by Jdlrobson
parent 70e61fdfa8
commit 7d75bb37ad
3 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@
margin-top: @top-margin-sidebar-toc;
}
@media ( max-width: @width-breakpoint-tablet ) {
@media ( max-width: @width-breakpoint-desktop ) {
.mw-sidebar {
margin-top: 0;
margin-left: 0;

View file

@ -131,7 +131,7 @@
}
}
@media ( min-width: @width-breakpoint-tablet ) {
@media ( min-width: @width-breakpoint-desktop ) {
.sidebar-toc {
display: block;
}
@ -139,7 +139,7 @@
// T300975 following media query for TOC experiment treatment
// class can be removed once associated A/B test is over.
@media ( max-width: @width-breakpoint-tablet ) {
@media ( max-width: @width-breakpoint-desktop ) {
.skin-vector-toc-experiment-treatment #toc {
display: table;
}

View file

@ -331,7 +331,7 @@ body:not( .skin-vector-toc-experiment-control ):not( .skin-vector-toc-experiment
body:not( .skin-vector-toc-experiment-control ):not( .skin-vector-toc-experiment-unsampled ) .vector-toc-visible .mw-workspace-container .mw-article-toolbar-container,
.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-content-container,
.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-container {
@media ( min-width: @width-breakpoint-tablet ) {
@media ( min-width: @width-breakpoint-desktop ) {
margin-left: @margin-toc-start-content;
}
}