mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-05 12:39:51 +00:00
664b6c5cc5
It gracefully degrades to a single column layout on grade C browsers, IE11, and Safari 9. Bug: T303484 Change-Id: Iaa3c1bee146dc39b1259a1ce712a29c6b22305d1
18 lines
459 B
Plaintext
18 lines
459 B
Plaintext
//
|
|
// No grid support behaviour
|
|
//
|
|
|
|
// If there is no display grid support we remove the table of contents
|
|
// On IE11 this leaves a clean single column grid.
|
|
// To be revisited when table of contents is collapsible in which situation we should be able to
|
|
// force it as sticky.
|
|
.vector-layout-grid .mw-table-of-contents-container {
|
|
display: none;
|
|
}
|
|
|
|
@supports ( display: grid ) {
|
|
.vector-layout-grid .mw-table-of-contents-container {
|
|
display: block;
|
|
}
|
|
}
|