Refactor some max-width media queries to use min width
Bug: T310536 Change-Id: I900c2446b64533775b37d6e0a0ce781ab0ff890a
This commit is contained in:
parent
e952a051c3
commit
73ecf0f4f3
|
@ -50,10 +50,10 @@
|
|||
}
|
||||
|
||||
.vector-more-collapsible-item {
|
||||
display: none;
|
||||
display: block;
|
||||
|
||||
@media ( max-width: @max-width-mobile ) {
|
||||
display: block;
|
||||
@media ( min-width: @min-width-tablet ) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
right: 0;
|
||||
z-index: @z-index-header;
|
||||
transition: @transition-sticky-header;
|
||||
display: flex;
|
||||
display: none;
|
||||
align-items: center;
|
||||
margin: 0 auto;
|
||||
background: @background-color-base;
|
||||
|
@ -45,9 +45,9 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
// T298836 Hide the sticky header at lower resolutions.
|
||||
@media ( max-width: @max-width-tablet ) {
|
||||
display: none;
|
||||
// T298836 Only show sticky header at higher resolutions.
|
||||
@media ( min-width: @min-width-desktop ) {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -185,13 +185,13 @@ body {
|
|||
// Update positioning when TOC is enabled
|
||||
.vector-toc-enabled .vector-layout-legacy #mw-panel {
|
||||
position: static;
|
||||
float: left;
|
||||
float: none;
|
||||
}
|
||||
|
||||
// Remove float at lower resolutions
|
||||
@media ( max-width: @max-width-tablet ) {
|
||||
// Add float at higher resolutions
|
||||
@media ( min-width: @min-width-desktop ) {
|
||||
.vector-toc-enabled .vector-layout-legacy #mw-panel {
|
||||
float: none;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue