mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
fix: use before to avoid conflict with primary basic animation effect (#39241)
This commit is contained in:
parent
80f167e5f2
commit
8afc84480d
@ -62,7 +62,7 @@ const genSharedButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token): CSS
|
|||||||
'&:not([disabled]) + &:not([disabled])': {
|
'&:not([disabled]) + &:not([disabled])': {
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
|
|
||||||
'&:after': {
|
'&:before': {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
top: -token.lineWidth,
|
top: -token.lineWidth,
|
||||||
insetInlineStart: -token.lineWidth,
|
insetInlineStart: -token.lineWidth,
|
||||||
@ -80,7 +80,7 @@ const genSharedButtonStyle: GenerateStyle<ButtonToken, CSSObject> = (token): CSS
|
|||||||
'&:not([disabled]) + &:not([disabled])': {
|
'&:not([disabled]) + &:not([disabled])': {
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
|
|
||||||
'&:after': {
|
'&:before': {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
top: -token.lineWidth,
|
top: -token.lineWidth,
|
||||||
insetInlineStart: -token.lineWidth,
|
insetInlineStart: -token.lineWidth,
|
||||||
|
Loading…
Reference in New Issue
Block a user