From 048e2be5d4a2f29da54711dcc28fe1d0f28bb4fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Thu, 16 Jun 2016 22:04:17 +0800 Subject: [PATCH] Fix focused select in addon (#2073) --- components/input/style/mixin.less | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/components/input/style/mixin.less b/components/input/style/mixin.less index 7df6b120a2..8c80816623 100644 --- a/components/input/style/mixin.less +++ b/components/input/style/mixin.less @@ -1,6 +1,6 @@ +@import "../../style/themes/default"; @import "../../style/mixins/index"; -@import "../../style/mixins/index"; // size mixins for input .input-lg() { padding: @input-padding-vertical-lg @input-padding-horizontal; @@ -166,6 +166,15 @@ .ant-select-selection { background-color: inherit; border: 0; + margin: -1px; + border: 1px solid transparent; + } + + &-open, + &-focused { + .ant-select-selection { + border-color: tint(@primary-color, 20%); + } } } }