From becdfb581d73edcc0874d9385fddcd1255e1a152 Mon Sep 17 00:00:00 2001 From: rickcole Date: Tue, 21 Apr 2020 11:43:50 +0800 Subject: [PATCH] fix combo style --- scss/components/form/_combo.scss | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/scss/components/form/_combo.scss b/scss/components/form/_combo.scss index f18b3b32..ebba7d95 100644 --- a/scss/components/form/_combo.scss +++ b/scss/components/form/_combo.scss @@ -208,12 +208,13 @@ left: px2rem(-30px); } - &.is-draggable > .#{$ns}Combo-items > .#{$ns}Combo-item { - margin-left: px2rem(35px); - } - - > .#{$ns}Combo-toolbar { - padding-left: px2rem(25px); + &.is-draggable { + > .#{$ns}Combo-items > .#{$ns}Combo-item { + margin-left: px2rem(35px); + } + > .#{$ns}Combo-toolbar { + padding-left: px2rem(25px); + } } }