refactor: modal confirm button style (#35530)

* fix: modal rtl style

* fix: cannot use logic css

* chore: change css writing order
This commit is contained in:
Yuki Zhang 2022-05-13 14:40:56 +08:00 committed by GitHub
parent 0d8fa8d1dd
commit 0846d4fce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@
}
.@{confirm-prefix-cls}-btns {
float: right;
margin-top: 24px;
text-align: right;
.@{ant-prefix}-btn + .@{ant-prefix}-btn {
margin-bottom: 0;

View File

@ -53,7 +53,7 @@
&-btns {
.@{dialog-wrap-rtl-cls} & {
float: left;
text-align: left;
}
.@{ant-prefix}-btn + .@{ant-prefix}-btn {
.@{dialog-wrap-rtl-cls} & {