From 4339bef78cdccc69d3399a6d5099d6be4e8a14af Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 2 Feb 2016 12:27:22 +0800 Subject: [PATCH] fix combobox focus style --- style/components/select.less | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/style/components/select.less b/style/components/select.less index 681f20506..cfa6070d2 100644 --- a/style/components/select.less +++ b/style/components/select.less @@ -190,6 +190,7 @@ font-size: 100%; background: transparent; outline: 0; + border-radius: @border-radius-base; } > i { float: right; @@ -310,10 +311,16 @@ height: 100%; position: relative; z-index: 1; + transition: all .3s @ease-in-out; + + &:focus { + box-shadow: 0 0 0 1px tint(@primary-color, 20%), 0 0 0 3px tint(@primary-color, 80%); + } } .@{select-prefix-cls}-selection__rendered { padding: 0; height: 100%; + overflow: visible; } } }