mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 09:30:17 +00:00
Merge "Scale server-rendered search box with browser font size"
This commit is contained in:
commit
eb78a83856
|
@ -5,7 +5,7 @@
|
|||
},
|
||||
{
|
||||
"resourceModule": "skins.vector.styles",
|
||||
"maxSize": "11.9kB"
|
||||
"maxSize": "12 kB"
|
||||
},
|
||||
{
|
||||
"resourceModule": "skins.vector.legacy.js",
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
@size-base: 32px;
|
||||
|
||||
@min-size-search-button: 30px;
|
||||
@background-size-x-search-button: unit( 20px / @font-size-browser / @font-size-base, em );
|
||||
@background-size-x-search-button: 20px;
|
||||
|
||||
// Search container
|
||||
// We have to put those styles outside `.skin-vector-search-vue`,
|
||||
|
@ -39,7 +39,12 @@
|
|||
}
|
||||
|
||||
.vector-search-box-vue .vector-search-box-input {
|
||||
height: @size-base;
|
||||
height: auto;
|
||||
// The following is copied directly from Codex.
|
||||
min-height: @size-base;
|
||||
line-height: 1.4285714;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.vector-search-box-vue .searchButton {
|
||||
|
|
Loading…
Reference in a new issue