fix: upload rtl style (#26961)

This commit is contained in:
xrk 2020-09-30 15:22:30 +08:00 committed by GitHub
parent 93a8605236
commit cf717225d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,7 @@
&&-select-picture-card {
.@{upload-prefix-cls}-rtl& {
float: right;
margin-right: 0;
margin-right: auto;
margin-left: 8px;
}
}
@ -97,6 +96,10 @@
&-picture,
&-picture-card {
.@{upload-item}-info {
padding: 0;
}
.@{upload-item}-thumbnail {
.@{upload-prefix-cls}-list-rtl& {
right: 8px;
@ -136,7 +139,7 @@
.@{upload-item}-progress {
.@{upload-prefix-cls}-list-rtl& {
padding-right: 56px;
padding-right: 0;
padding-left: 0;
}
}
@ -152,15 +155,7 @@
&-picture-card {
&-container {
.@{upload-prefix-cls}-list-rtl & {
float: right;
margin: 0 0 8px 8px;
}
}
.@{upload-item} {
.@{upload-prefix-cls}-list-rtl& {
float: right;
margin: 0 0 8px 8px;
margin: 0 0 @margin-xs @margin-xs;
}
}
@ -178,11 +173,5 @@
padding: 0;
}
}
.@{upload-item}-info {
.@{upload-prefix-cls}-list-rtl& {
padding: 0;
}
}
}
}