mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
style: nested style for cssinjs in Result (#34401)
* chore: update gitignore * style: nested style
This commit is contained in:
parent
253b43fed3
commit
f7ebd0d55f
2
.gitignore
vendored
2
.gitignore
vendored
@ -67,3 +67,5 @@ __image_snapshots__/
|
|||||||
/jest-stare
|
/jest-stare
|
||||||
/imageSnapshots
|
/imageSnapshots
|
||||||
/imageDiffSnapshots
|
/imageDiffSnapshots
|
||||||
|
|
||||||
|
.devcontainer*
|
||||||
|
@ -42,10 +42,10 @@ const genBaseStyle = (
|
|||||||
[`${resultCls} ${resultCls}-icon`]: {
|
[`${resultCls} ${resultCls}-icon`]: {
|
||||||
marginBottom: token.padding * 1.5,
|
marginBottom: token.padding * 1.5,
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
},
|
|
||||||
|
|
||||||
[`${resultCls} ${resultCls}-icon > ${dotIconPrefixCls}`]: {
|
[`& > ${dotIconPrefixCls}`]: {
|
||||||
fontSize: token.resultIconFontSize,
|
fontSize: token.resultIconFontSize,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
[`${resultCls} ${resultCls}-title`]: {
|
[`${resultCls} ${resultCls}-title`]: {
|
||||||
@ -73,14 +73,14 @@ const genBaseStyle = (
|
|||||||
[`${resultCls} ${resultCls}-extra`]: {
|
[`${resultCls} ${resultCls}-extra`]: {
|
||||||
margin: token.resultExtraMargin,
|
margin: token.resultExtraMargin,
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
},
|
|
||||||
|
|
||||||
[`${resultCls} ${resultCls}-extra > *`]: {
|
'& > *': {
|
||||||
marginInlineEnd: token.paddingXS,
|
marginInlineEnd: token.paddingXS,
|
||||||
},
|
|
||||||
|
|
||||||
[`${resultCls} ${resultCls}-extra > *:last-child`]: {
|
'&:last-child': {
|
||||||
marginInlineEnd: 0,
|
marginInlineEnd: 0,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user