From ac2938f3c56c6286dce54c382e110841a9ebab51 Mon Sep 17 00:00:00 2001 From: huskylengcb <649569822@qq.com> Date: Mon, 20 Dec 2021 17:19:19 +0800 Subject: [PATCH] =?UTF-8?q?style(filter-picker):=20=E4=BF=AE=E5=A4=8Dfilte?= =?UTF-8?q?r-picker=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98=20(#1704)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/legacy/base-picker/BasePicker.tsx | 10 ++++++---- src/legacy/selector-pro/style/index.less | 2 +- src/legacy/selector/style/index.less | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/legacy/base-picker/BasePicker.tsx b/src/legacy/base-picker/BasePicker.tsx index c1df4d6986..931554741c 100644 --- a/src/legacy/base-picker/BasePicker.tsx +++ b/src/legacy/base-picker/BasePicker.tsx @@ -5,7 +5,7 @@ import List from '../list'; import { BasePickerProps } from './interfaces'; import SearchBar from '../search-bar'; import Alert from '../alert'; -import TabNav, {Tab} from '../../tabs'; +import TabNav, { Tab } from '../../tabs'; import defaultLocaleText from './locales/zh-CN'; function BasePicker({ @@ -50,9 +50,11 @@ function BasePicker({ )} {tabNav && ( - - {tabs} - +
+ + {tabs} + +
)}
{content}
{footer &&
{footer}
} diff --git a/src/legacy/selector-pro/style/index.less b/src/legacy/selector-pro/style/index.less index b8a1d3519a..c818979209 100644 --- a/src/legacy/selector-pro/style/index.less +++ b/src/legacy/selector-pro/style/index.less @@ -101,7 +101,7 @@ max-height: 520px; background: @palette-white; border-radius: 4px; - box-shadow: 0 6px 14px rgba(223, 226, 237, 0.8); + box-shadow: 0 8px 24px rgba(36, 46, 89, 0.1); } .@{selector-prefix-cls-legacy}-overlay-dropdown { .@{old-dropdown-prefix-cls-legacy}-inner { diff --git a/src/legacy/selector/style/index.less b/src/legacy/selector/style/index.less index fa467e448e..b964d9f525 100644 --- a/src/legacy/selector/style/index.less +++ b/src/legacy/selector/style/index.less @@ -7,7 +7,7 @@ height: fit-content; background: @palette-white; border-radius: 4px; - box-shadow: 0 6px 14px rgba(223, 226, 237, 0.8); + box-shadow: 0 8px 24px rgba(36, 46, 89, 0.1); .@{dropdown-inner-prefix-cls-legacy}-inner { overflow: visible; }