Skip to content

Commit

Permalink
fix: upload rtl style
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Sep 30, 2020
1 parent 93a8605 commit 9e0e6c0
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions components/upload/style/rtl.less
Expand Up @@ -11,8 +11,7 @@

&&-select-picture-card {
.@{upload-prefix-cls}-rtl& {
float: right;
margin-right: 0;
margin-right: auto;
margin-left: 8px;
}
}
Expand Down Expand Up @@ -97,6 +96,10 @@

&-picture,
&-picture-card {
.@{upload-item}-info {
padding: 0;
}

.@{upload-item}-thumbnail {
.@{upload-prefix-cls}-list-rtl& {
right: 8px;
Expand Down Expand Up @@ -136,7 +139,7 @@

.@{upload-item}-progress {
.@{upload-prefix-cls}-list-rtl& {
padding-right: 56px;
padding-right: 0;
padding-left: 0;
}
}
Expand All @@ -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;
}
}

Expand All @@ -178,11 +173,5 @@
padding: 0;
}
}

.@{upload-item}-info {
.@{upload-prefix-cls}-list-rtl& {
padding: 0;
}
}
}
}

0 comments on commit 9e0e6c0

Please sign in to comment.