diff --git a/components/anchor/style/index.less b/components/anchor/style/index.less
index 1c3f87c2d9..92d0042b20 100644
--- a/components/anchor/style/index.less
+++ b/components/anchor/style/index.less
@@ -14,39 +14,6 @@
padding-left: 4px;
overflow: auto;
background-color: @anchor-bg;
-
- &-horizontal {
- margin-left: unset;
- padding-left: unset;
- margin-bottom: -4px;
- padding-bottom: 4px;
-
- .ant-anchor {
- display: flex;
-
- &-ink {
- top: unset;
- bottom: 0;
- width: 100%;
- height: unset;
-
- &:before {
- width: 100%;
- height: 2px;
- }
-
- &-ball {
- transform: translate(-50%, -50%);
- }
- }
-
- &-link {
- &:first-of-type {
- padding-inline: 0;
- }
- }
- }
- }
}
&-ink {
diff --git a/components/anchor/style/patch.less b/components/anchor/style/patch.less
index 88749b4fdd..ea9575dde5 100644
--- a/components/anchor/style/patch.less
+++ b/components/anchor/style/patch.less
@@ -1,3 +1,43 @@
+@import '../../style/themes/index';
+
nz-link {
display: block;
}
+
+.@{ant-prefix}-anchor {
+ &-wrapper {
+ // This is a feature of Antd 5, so we need add in the patch file.
+ &-horizontal {
+ margin-left: unset;
+ padding-left: unset;
+ margin-bottom: -4px;
+ padding-bottom: 4px;
+
+ .ant-anchor {
+ display: flex;
+
+ &-ink {
+ top: unset;
+ bottom: 0;
+ width: 100%;
+ height: unset;
+
+ &:before {
+ width: 100%;
+ height: 2px;
+ }
+
+ &-ball {
+ transform: translate(-50%, -50%);
+ }
+ }
+
+ &-link {
+ &:first-of-type {
+ padding-inline: 0;
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/components/checkbox/style/mixin.less b/components/checkbox/style/mixin.less
index ae4a39d949..3d7c0336ed 100644
--- a/components/checkbox/style/mixin.less
+++ b/components/checkbox/style/mixin.less
@@ -26,7 +26,7 @@
width: 100%;
height: 100%;
border: 1px solid @checkbox-color;
- border-radius: @border-radius-base;
+ border-radius: @checkbox-border-radius;
visibility: hidden;
animation: antCheckboxEffect 0.36s ease-in-out;
animation-fill-mode: backwards;
diff --git a/components/collapse/collapse-panel.component.ts b/components/collapse/collapse-panel.component.ts
index c5c3afda28..4b68593a19 100644
--- a/components/collapse/collapse-panel.component.ts
+++ b/components/collapse/collapse-panel.component.ts
@@ -56,7 +56,9 @@ const NZ_CONFIG_MODULE_NAME: NzConfigKey = 'collapsePanel';
}
-