mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 01:20:07 +00:00
Merge "Layout: Use sibling selectors rather than adjacent sibling"
This commit is contained in:
commit
9d7b62b85d
|
@ -111,7 +111,7 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
& + .mw-content-container {
|
& ~ .mw-content-container {
|
||||||
.mixin-column-full-width();
|
.mixin-column-full-width();
|
||||||
.mixin-column-align-width-hamburger-icon();
|
.mixin-column-align-width-hamburger-icon();
|
||||||
}
|
}
|
||||||
|
@ -119,12 +119,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@{selector-sidebar-no-toc-sidebar-closed} {
|
@{selector-sidebar-no-toc-sidebar-closed} {
|
||||||
& + .mw-content-container {
|
& ~ .mw-content-container {
|
||||||
.mixin-column-full-width();
|
.mixin-column-full-width();
|
||||||
|
|
||||||
@media ( min-width: ( @min-width-tablet ) ) and ( max-width: @max-width-tablet ) {
|
|
||||||
.mixin-column-align-width-hamburger-icon();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue