diff --git a/components/spin/style/index.ts b/components/spin/style/index.ts index 2eccec181..af770f571 100644 --- a/components/spin/style/index.ts +++ b/components/spin/style/index.ts @@ -42,6 +42,12 @@ const genSpinStyle: GenerateStyle = (token: SpinToken): CSSObject => '&-nested-loading': { position: 'relative', + [`> div`]: { + width: '100%', + height: '100%', + position: 'absolute', + }, + [`> div > ${token.componentCls}`]: { position: 'absolute', top: 0,