From 7c39e92f9abbe1cba5fa2cb76d11200fe39779d0 Mon Sep 17 00:00:00 2001 From: 2betop <2betop.cn@gmail.com> Date: Tue, 16 Jun 2020 14:30:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scss/_variables.scss | 2 +- scss/components/_dropdown.scss | 4 ++++ scss/themes/cxd.scss | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scss/_variables.scss b/scss/_variables.scss index e96061d8..f67dd964 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -948,7 +948,7 @@ $DropDown-menuItem-paddingY: ( ) / 2 !default; $DropDown-menuItem-paddingX: $gap-sm !default; $DropDown-menuItem-onHover-color: inherit !default; -$DropDown-menuItem-onHover-bg: $Button--default-onHover-bg !default; +$DropDown-menuItem-onHover-bg: $ListMenu-item--onHover-bg !default; // Checks $Checkbox-gap: $gap-sm !default; diff --git a/scss/components/_dropdown.scss b/scss/components/_dropdown.scss index d2b59173..c2c346f8 100644 --- a/scss/components/_dropdown.scss +++ b/scss/components/_dropdown.scss @@ -85,4 +85,8 @@ border: none; box-shadow: none; } + + > .#{$ns}Button { + min-width: unset; + } } diff --git a/scss/themes/cxd.scss b/scss/themes/cxd.scss index aad7bce7..77a0ccf5 100644 --- a/scss/themes/cxd.scss +++ b/scss/themes/cxd.scss @@ -415,7 +415,7 @@ $Toast-border-width: px2rem(1px); $Toast-icon-width: px2rem(16px); $Toast-icon-height: px2rem(16px); $Toast-opacity: 1; -$Toast-title-display: inline-block; +$Toast-title-display: inline; // Toast color $Toast-color: $white;