mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
[ToC] Increase threshold for ToC collapsing to 1000px
Bug: T306904 Change-Id: Ib3ad66a8f4ccf9c5ba323031821d6e681069bde5
This commit is contained in:
parent
70e61fdfa8
commit
7d75bb37ad
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue