enhance: antd style at top (#43847)

This commit is contained in:
二货爱吃白萝卜 2023-07-27 16:07:48 +08:00 committed by GitHub
parent 82090a1dc2
commit 6ff18d1786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -76,6 +76,9 @@ export default function genComponentStyleHook<ComponentName extends OverrideComp
hashId,
nonce: () => csp?.nonce!,
clientOnly: options?.clientOnly,
// antd is always at top of styles
order: -999,
};
// Generate style for all a tags in antd component.

View File

@ -109,7 +109,7 @@
],
"dependencies": {
"@ant-design/colors": "^7.0.0",
"@ant-design/cssinjs": "^1.14.0",
"@ant-design/cssinjs": "^1.16.0",
"@ant-design/icons": "^5.1.0",
"@ant-design/react-slick": "~1.0.0",
"@babel/runtime": "^7.18.3",