mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-30 18:35:44 +00:00
[Visual change] Limits two row header to mobile devices
I accidentally enabled this on tablet breakpoint.
Follow up to e3d2ab5031
The Pixel UI report should only surface changes on mobile - all
of these are improvements as it means the whole UI is visible in
the viewport.
Bug: T361573
Change-Id: I8aa5699a8fe959c1595d74c03f19c14856f6470f
This commit is contained in:
parent
ca9b2274dc
commit
f4befc068d
|
@ -23,7 +23,7 @@
|
|||
// Ensures the button has a font size of 16px
|
||||
font-size: unit( 16 / @font-size-browser, rem );
|
||||
|
||||
@media ( min-width: @min-width-breakpoint-tablet ) {
|
||||
@media ( min-width: @min-width-breakpoint-mobile ) {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
@ -41,12 +41,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media ( max-width: @max-width-breakpoint-tablet ) {
|
||||
@media ( max-width: @max-width-breakpoint-mobile ) {
|
||||
#p-search,
|
||||
.vector-header-end {
|
||||
.cdx-mixin-button-layout-flush( 'start', true );
|
||||
}
|
||||
}
|
||||
|
||||
@media ( max-width: @max-width-breakpoint-tablet ) {
|
||||
/**
|
||||
* Toggles the visibility of the search box at lower resolutions.
|
||||
*/
|
||||
|
|
|
@ -114,7 +114,7 @@ body {
|
|||
background-color: @background-color-page-container;
|
||||
}
|
||||
|
||||
@media ( max-width: @max-width-breakpoint-tablet ) {
|
||||
@media ( max-width: @max-width-breakpoint-mobile ) {
|
||||
.vector-header {
|
||||
flex-flow: column;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue