From 22d656e713a21661fc3aca33fc8231f328c97521 Mon Sep 17 00:00:00 2001 From: haoziqaq <357229046@qq.com> Date: Wed, 3 May 2023 00:26:44 +0800 Subject: [PATCH] fix(select): fix select dropdown border radius --- packages/varlet-ui/src/select/docs/en-US.md | 2 +- packages/varlet-ui/src/select/docs/zh-CN.md | 2 +- packages/varlet-ui/src/select/select.less | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/varlet-ui/src/select/docs/en-US.md b/packages/varlet-ui/src/select/docs/en-US.md index 4433f7bc119..291a84c0a5f 100644 --- a/packages/varlet-ui/src/select/docs/en-US.md +++ b/packages/varlet-ui/src/select/docs/en-US.md @@ -429,7 +429,7 @@ Here are the CSS variables used by the component, Styles can be customized using | `--select-scroller-background` | `#fff` | | `--select-scroller-padding` | `6px 0` | | `--select-scroller-max-height` | `278px` | -| `--select-scroller-border-radius` | `4px` | +| `--select-scroller-border-radius` | `2px` | | `--select-chip-margin` | `5px 5px 0` | | `--select-arrow-size` | `20px` | | `--select-standard-scroller-margin` | `calc(var(--field-decorator-placeholder-size) * 0.75 + 14px) 0 0 0` | diff --git a/packages/varlet-ui/src/select/docs/zh-CN.md b/packages/varlet-ui/src/select/docs/zh-CN.md index 58dee6cbfd3..a05dd84a522 100644 --- a/packages/varlet-ui/src/select/docs/zh-CN.md +++ b/packages/varlet-ui/src/select/docs/zh-CN.md @@ -432,7 +432,7 @@ const value12 = ref() | `--select-scroller-background` | `#fff` | | `--select-scroller-padding` | `6px 0` | | `--select-scroller-max-height` | `278px` | -| `--select-scroller-border-radius` | `4px` | +| `--select-scroller-border-radius` | `2px` | | `--select-chip-margin` | `5px 5px 0` | | `--select-arrow-size` | `20px` | | `--select-standard-scroller-margin` | `calc(var(--field-decorator-placeholder-size) * 0.75 + 14px) 0 0 0` | diff --git a/packages/varlet-ui/src/select/select.less b/packages/varlet-ui/src/select/select.less index d857b8f2f41..a68f557114d 100644 --- a/packages/varlet-ui/src/select/select.less +++ b/packages/varlet-ui/src/select/select.less @@ -2,7 +2,7 @@ --select-scroller-background: #fff; --select-scroller-padding: 6px 0; --select-scroller-max-height: 278px; - --select-scroller-border-radius: 4px; + --select-scroller-border-radius: 2px; --select-chip-margin: 5px 5px 0; --select-arrow-size: 20px; --select-standard-scroller-margin: calc(var(--field-decorator-placeholder-size) * 0.75 + 12px) 0 0 0;