mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 01:20:07 +00:00
[modern][styles] Use @size-search-figure variable in padding-left calc
This variable is used in the same way in WVUI. Change-Id: Ib7a6d7bb456b3179c3b2eae4b1b0da064fe1f79c
This commit is contained in:
parent
595870baeb
commit
720bd0e6b7
|
@ -55,7 +55,7 @@
|
||||||
&:focus {
|
&:focus {
|
||||||
position: relative;
|
position: relative;
|
||||||
// Use ~ and fixed values to disable the LESS transformation in ResourceLoader LESS implementation.
|
// Use ~ and fixed values to disable the LESS transformation in ResourceLoader LESS implementation.
|
||||||
padding-left: ~'calc( 12px + 2.57142857em + 12px )';
|
padding-left: ~'calc( 12px + @{size-search-figure} + 12px )';
|
||||||
width: ~'calc( 100% + 24px )';
|
width: ~'calc( 100% + 24px )';
|
||||||
left: ~'calc( -1 * 24px )';
|
left: ~'calc( -1 * 24px )';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue