mediawiki-skins-Vector/resources/skins.vector.styles/layouts/gradeC.less
bwang f36c58db2f Update how pinnable elements are handled with no-js and gradeC cases
Bug: T331563
Bug: T331168
Change-Id: Ibd5aaa605c45216783a2707b3813e1e7e2c46b9b
2023-03-14 17:35:59 -05:00

18 lines
401 B
Plaintext

//
// No grid support behaviour
//
// If there is no display grid support we remove pinnable elements
// 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-pinned-container {
display: none;
}
@supports ( display: grid ) {
.vector-pinned-container {
display: block;
}
}