Skip to content

Commit 4c9d858

Browse files
committed
feat(upload): supports custom errors display
1 parent 4882d9b commit 4c9d858

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

style/mobile/components/upload/v2/_index.less

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,20 @@
7070
animation: spin infinite linear .6s;
7171
}
7272
}
73+
74+
&__error {
75+
grid-column: 1 / -1;
76+
padding: 4px 8px;
77+
background-color: @error-color-1;
78+
border: 1px solid @error-color;
79+
border-radius: var(--td-tag-square-border-radius, 4px);
80+
}
81+
82+
&__error-text {
83+
font-size: 12px;
84+
line-height: 20px;
85+
color: @error-color;
86+
}
7387
}
7488

7589
@keyframes spin {

0 commit comments

Comments
 (0)