[ToC] Increase threshold for ToC collapsing to 1000px
Bug: T306904 Change-Id: Ib3ad66a8f4ccf9c5ba323031821d6e681069bde5
This commit is contained in:
parent
7565486e09
commit
31ed884d6e
|
@ -46,7 +46,7 @@
|
||||||
margin-top: @top-margin-sidebar-toc;
|
margin-top: @top-margin-sidebar-toc;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media ( max-width: @width-breakpoint-tablet ) {
|
@media ( max-width: @width-breakpoint-desktop ) {
|
||||||
.mw-sidebar {
|
.mw-sidebar {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|
|
@ -131,7 +131,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media ( min-width: @width-breakpoint-tablet ) {
|
@media ( min-width: @width-breakpoint-desktop ) {
|
||||||
.sidebar-toc {
|
.sidebar-toc {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
|
|
||||||
// T300975 following media query for TOC experiment treatment
|
// T300975 following media query for TOC experiment treatment
|
||||||
// class can be removed once associated A/B test is over.
|
// 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 {
|
.skin-vector-toc-experiment-treatment #toc {
|
||||||
display: table;
|
display: table;
|
||||||
}
|
}
|
||||||
|
|
|
@ -326,7 +326,7 @@ body {
|
||||||
.vector-toc-visible .mw-workspace-container .mw-article-toolbar-container,
|
.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-content-container,
|
||||||
.vector-toc-enabled .mw-checkbox-hack-checkbox:checked ~ .mw-workspace-container .mw-article-toolbar-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;
|
margin-left: @margin-toc-start-content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue