From 7b916da2aef630823e72b1bbf432737ae286fcd0 Mon Sep 17 00:00:00 2001 From: Graeme Yeates Date: Wed, 7 Jun 2017 13:40:33 -0400 Subject: [PATCH] Use input-padding-horizontal to control autocomplete placeholder placing --- components/auto-complete/style/index.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/auto-complete/style/index.less b/components/auto-complete/style/index.less index 3b383a08ce..e05462a8ad 100644 --- a/components/auto-complete/style/index.less +++ b/components/auto-complete/style/index.less @@ -19,8 +19,8 @@ line-height: @input-height-base; } &__placeholder { - margin-left: 8px; - margin-right: 8px; + margin-left: (@input-padding-horizontal + 1); + margin-right: (@input-padding-horizontal + 1); } } }