mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 09:21:11 +00:00
Merge "Flush search to right on smaller resolutions"
This commit is contained in:
commit
dd178231c1
|
@ -31,8 +31,13 @@
|
||||||
#p-search {
|
#p-search {
|
||||||
// Override values to reflect new behaviour.
|
// Override values to reflect new behaviour.
|
||||||
min-width: @min-width-search;
|
min-width: @min-width-search;
|
||||||
max-width: @max-width-search;
|
max-width: 100%;
|
||||||
margin: 0 @margin-horizontal-search;
|
margin: 0 0 0 @margin-horizontal-search;
|
||||||
|
|
||||||
|
#searchform {
|
||||||
|
margin-left: auto;
|
||||||
|
max-width: @max-width-search;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Support IE9: float will be disabled if display flex is supported
|
// Support IE9: float will be disabled if display flex is supported
|
||||||
|
@ -44,6 +49,7 @@
|
||||||
#p-personal {
|
#p-personal {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
flex-basis: @min-width-personal-tools;
|
flex-basis: @min-width-personal-tools;
|
||||||
|
margin-left: @margin-horizontal-search;
|
||||||
|
|
||||||
// Support IE9: This is reset in @support query below if Flexbox is available.
|
// Support IE9: This is reset in @support query below if Flexbox is available.
|
||||||
float: right;
|
float: right;
|
||||||
|
|
Loading…
Reference in a new issue