From f7b8c33035d57eb7e64159b169c7dacc5dad4099 Mon Sep 17 00:00:00 2001 From: Vincent Guo Date: Fri, 27 May 2022 10:10:08 +0800 Subject: [PATCH] fix(components): [button] style compatible issue with :not (#7914) downgrade :not(a,b) to :not(a):not(b) for compatiblity --- packages/theme-chalk/src/button.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/theme-chalk/src/button.scss b/packages/theme-chalk/src/button.scss index 662c231a46..bfc64be7ca 100644 --- a/packages/theme-chalk/src/button.scss +++ b/packages/theme-chalk/src/button.scss @@ -40,7 +40,7 @@ $button-icon-span-gap: map.merge( vertical-align: middle; -webkit-appearance: none; - &:not(.is-text, .is-link, .#{$namespace}-button--text) { + &:not(.is-text):not(.is-link):not(.#{$namespace}-button--text) { background-color: getCssVar('button', 'bg-color'); border: getCssVar('border'); border-color: getCssVar('button', 'border-color');