fix(spin): fix loading not centered
parent
4a37016f4e
commit
d3d183923a
|
@ -42,6 +42,12 @@ const genSpinStyle: GenerateStyle<SpinToken> = (token: SpinToken): CSSObject =>
|
||||||
|
|
||||||
'&-nested-loading': {
|
'&-nested-loading': {
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
|
[`> div`]: {
|
||||||
|
width: '100%',
|
||||||
|
height: '100%',
|
||||||
|
position: 'absolute',
|
||||||
|
},
|
||||||
|
|
||||||
[`> div > ${token.componentCls}`]: {
|
[`> div > ${token.componentCls}`]: {
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
top: 0,
|
top: 0,
|
||||||
|
|
Loading…
Reference in New Issue