From 82092c154ac1fa7ff2f89e1adbdf0aaf22e3ff53 Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Tue, 27 Feb 2018 17:21:33 +0800 Subject: [PATCH 1/4] Fix Select dropdown border --- components/select/style/index.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/select/style/index.less b/components/select/style/index.less index 28d2e45ebf..36597d6d88 100644 --- a/components/select/style/index.less +++ b/components/select/style/index.less @@ -489,6 +489,10 @@ background-color: @item-hover-bg; } + &:first-child, &:last-child { + border-radius: @border-radius-base; + } + &-disabled { color: @disabled-color; cursor: not-allowed; From aa9b7a4e4dbb2e49ef6dbc00297739745052b491 Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Tue, 27 Feb 2018 18:07:39 +0800 Subject: [PATCH 2/4] Update snapshot --- .../__tests__/__snapshots__/demo.test.js.snap | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 4 +-- .../__tests__/__snapshots__/demo.test.js.snap | 36 +++++++++---------- 3 files changed, 19 insertions(+), 23 deletions(-) diff --git a/components/form/__tests__/__snapshots__/demo.test.js.snap b/components/form/__tests__/__snapshots__/demo.test.js.snap index 7f2597d3e2..47f429868b 100644 --- a/components/form/__tests__/__snapshots__/demo.test.js.snap +++ b/components/form/__tests__/__snapshots__/demo.test.js.snap @@ -2503,7 +2503,7 @@ exports[`renders ./components/form/demo/validate-other.md correctly 1`] = ` />
-