mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 09:21:11 +00:00
0fdd4a99ac
`#mw-searchButton` is apparently used with no-js clients or if the
js-search is broken [1]. Its position and dimensions should be kept in
sync with #searchButton.
This commit:
* Ensures that the same styles, including position, applied to #searchButton
are applied to "#mw-searchButton" so the dimensions are identical. This
should also address a critique in T270202 by removing the "invisible
button".
* Applies a `client-js` selector to ensure these buttons are
only positioned to the left of the search input if js is enabled. If js
is not enabled, having these positioned to the left is confusing as the
input has no obvious "submit" button.
* Syncs the input's end padding to match WVUI's input's end padding if
JS is enabled.
[1]
|
||
---|---|---|
.. | ||
mediawiki.less | ||
skins.vector.js | ||
skins.vector.legacy.js | ||
skins.vector.search | ||
skins.vector.styles | ||
CheckboxHack.d.ts | ||
CollapsibleTabsPlugin.d.ts | ||
mediawiki.d.ts | ||
MediaWikiPageReady.d.ts | ||
skins.vector.styles.responsive.less | ||
VectorResourceLoaderVirtualConfig.d.ts | ||
vue.d.ts |