[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 7565486e09
commit 31ed884d6e
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

@ -326,7 +326,7 @@ body {
.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;
}
}