Skip to content

Commit fb3f8e4

Browse files
committed
feat(Upload): add upload border-radius variable
1 parent 796690e commit fb3f8e4

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/upload/main.scss

+3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
font-size: $upload-text-list-font-size;
6262
overflow: hidden;
6363
transition: all .2s ease-out;
64+
border-radius: $upload-text-list-corner;
6465

6566
&:not(:last-child) {
6667
margin-bottom: 4px;
@@ -143,6 +144,8 @@
143144
font-size: $upload-image-list-item-font-size;
144145
transition: all .2s ease-out;
145146
overflow: hidden;
147+
border-radius: $upload-card-list-corner;
148+
146149
&:not(:last-child) {
147150
margin-bottom: 4px;
148151
}

src/upload/scss/variable.scss

+6-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ $upload-text-list-close-icon-size: $icon-xs !default;
3939
/// margin (r)
4040
/// @namespace size/close icon
4141
$upload-text-list-close-icon-right: $s-3 !default;
42-
42+
/// corner
43+
/// @namespace size/normal
44+
$upload-text-list-corner: $corner-zero !default;
4345
/// background
4446
/// @namespace statement/normal/bounding
4547
$upload-text-list-bg-color: $color-fill1-2 !default;
@@ -198,6 +200,9 @@ $upload-card-list-margin-right: $s-3 !default;
198200
/// padding
199201
/// @namespace size/bounding
200202
$upload-card-list-padding: $s-zero !default;
203+
/// corner
204+
/// @namespace size/normal
205+
$upload-card-list-corner: $corner-zero !default;
201206
/// border
202207
/// @namespace statement/normal/bounding
203208
$upload-card-list-border-color: $color-line1-3 !default;

0 commit comments

Comments
 (0)