Skip to content

Commit

Permalink
fix(antd): revert antd to fix Button style
Browse files Browse the repository at this point in the history
  • Loading branch information
magicdawn committed Sep 26, 2024
1 parent 4abafbb commit 22126a5
Show file tree
Hide file tree
Showing 3 changed files with 141 additions and 746 deletions.
9 changes: 8 additions & 1 deletion .ncurc.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
module.exports = {
reject: ['axios'],
reject: [
'axios',

// https://ant.design/changelog-cn#5211 external antd 后, default Button 没有边框,
// 缺少 .ant-btn-variant-outlined.ant-btn-color-default { border-color: #d9d9d9; } 样式
// 仅 external 情况下会有, 无相关 issue
'antd',
],
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"@mgdn/bvid": "^0.3.0",
"@total-typescript/ts-reset": "^0.6.1",
"ahooks": "3.8.1",
"antd": "^5.21.1",
"antd": "5.21.0",
"axios": "0",
"axios-userscript-adapter": "0",
"clsx": "^2.1.1",
Expand Down
Loading

0 comments on commit 22126a5

Please sign in to comment.