[new feature] Uploader: add default style & upload-text prop
This commit is contained in:
@@ -14,4 +14,27 @@
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&__upload {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background-color: @white;
|
||||
border: 1px dashed @gray-light;
|
||||
|
||||
&-icon {
|
||||
color: @gray-dark;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
&-text {
|
||||
margin-top: 10px;
|
||||
color: @gray-dark;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user