Browse Source

fix: Popcomfirm should support and (#43212)

pull/43231/head
MadCcc 1 year ago
committed by GitHub
parent
commit
5df309742e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      components/popconfirm/style/index.tsx

7
components/popconfirm/style/index.tsx

@ -12,6 +12,7 @@ const genBaseStyle: GenerateStyle<PopconfirmToken> = (token) => {
const {
componentCls,
iconCls,
antCls,
zIndexPopup,
colorText,
colorWarning,
@ -25,7 +26,10 @@ const genBaseStyle: GenerateStyle<PopconfirmToken> = (token) => {
return {
[componentCls]: {
zIndex: zIndexPopup,
color: colorText,
[`&${antCls}-popover`]: {
fontSize,
},
[`${componentCls}-message`]: {
marginBottom: marginXS,
@ -51,6 +55,7 @@ const genBaseStyle: GenerateStyle<PopconfirmToken> = (token) => {
[`${componentCls}-description`]: {
marginTop: marginXXS,
color: colorText,
},
},

Loading…
Cancel
Save