From 720bd0e6b77bbc73ebaec90b6376a3f8f4a19b5a Mon Sep 17 00:00:00 2001 From: Nicholas Ray Date: Mon, 14 Dec 2020 16:38:38 -0700 Subject: [PATCH] [modern][styles] Use @size-search-figure variable in padding-left calc This variable is used in the same way in WVUI. Change-Id: Ib7a6d7bb456b3179c3b2eae4b1b0da064fe1f79c --- resources/skins.vector.styles/VueEnhancedSearchBox.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/skins.vector.styles/VueEnhancedSearchBox.less b/resources/skins.vector.styles/VueEnhancedSearchBox.less index edce76e..81aa6a0 100644 --- a/resources/skins.vector.styles/VueEnhancedSearchBox.less +++ b/resources/skins.vector.styles/VueEnhancedSearchBox.less @@ -55,7 +55,7 @@ &:focus { position: relative; // 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 )'; left: ~'calc( -1 * 24px )'; }