miracles1919
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
9 deletions
-
components/collapse/style/index.tsx
|
|
@ -33,7 +33,6 @@ export const genBaseStyle: GenerateStyle<CollapseToken> = token => { |
|
|
|
colorTextDisabled, |
|
|
|
lineHeight, |
|
|
|
marginSM, |
|
|
|
padding, |
|
|
|
paddingSM, |
|
|
|
fontSizeSM, |
|
|
|
} = token; |
|
|
@ -80,8 +79,6 @@ export const genBaseStyle: GenerateStyle<CollapseToken> = token => { |
|
|
|
// FIXME
|
|
|
|
verticalAlign: '-1px', |
|
|
|
|
|
|
|
[`${componentCls}-rtl &`]: {}, |
|
|
|
|
|
|
|
[`& svg`]: { |
|
|
|
// FIXME
|
|
|
|
transition: 'transform 0.24s', |
|
|
@ -120,12 +117,9 @@ export const genBaseStyle: GenerateStyle<CollapseToken> = token => { |
|
|
|
paddingInlineEnd: collapseHeaderPaddingExtra, |
|
|
|
|
|
|
|
[`${componentCls}-arrow`]: { |
|
|
|
position: 'absolute', |
|
|
|
top: '50%', |
|
|
|
insetInlineEnd: padding, |
|
|
|
insetInlineStart: 'auto', |
|
|
|
margin: 0, |
|
|
|
transform: 'translateY(-50%)', |
|
|
|
svg: { |
|
|
|
transform: 'rotate(180deg)', |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|