add Modal @modal-border-radius less variable (#36527)

* add Modal @modal-border-radius less variable

* fix:  add less variable
This commit is contained in:
Neil 2022-07-15 14:50:07 +08:00 committed by GitHub
parent 5cd007a2ed
commit 9989a2d751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -29,7 +29,7 @@
background-color: @modal-content-bg;
background-clip: padding-box;
border: 0;
border-radius: @border-radius-base;
border-radius: @modal-border-radius;
box-shadow: @shadow-2;
pointer-events: auto;
}
@ -75,7 +75,7 @@
background: @modal-header-bg;
border-bottom: @modal-header-border-width @modal-header-border-style
@modal-header-border-color-split;
border-radius: @border-radius-base @border-radius-base 0 0;
border-radius: @modal-border-radius @modal-border-radius 0 0;
}
&-body {
@ -91,7 +91,7 @@
background: @modal-footer-bg;
border-top: @modal-footer-border-width @modal-footer-border-style
@modal-footer-border-color-split;
border-radius: 0 0 @border-radius-base @border-radius-base;
border-radius: 0 0 @modal-border-radius @modal-border-radius;
.@{ant-prefix}-btn + .@{ant-prefix}-btn:not(.@{ant-prefix}-dropdown-trigger) {
margin-bottom: 0;

View File

@ -574,6 +574,7 @@
@modal-mask-bg: fade(@black, 45%);
@modal-confirm-body-padding: 32px 32px 24px;
@modal-confirm-title-font-size: @font-size-lg;
@modal-border-radius: @border-radius-base;
// Progress
// --

View File

@ -629,6 +629,7 @@
@modal-mask-bg: fade(@black, 45%);
@modal-confirm-body-padding: 32px 32px 24px;
@modal-confirm-title-font-size: @font-size-lg;
@modal-border-radius: @border-radius-base;
// Progress
// --