[improvement] Uploader: support preview network image (#3899)

This commit is contained in:
neverland
2019-07-19 11:15:10 +08:00
committed by GitHub
parent 0d68c628ca
commit d0fbaf7325
10 changed files with 181 additions and 82 deletions
+22 -12
View File
@@ -69,18 +69,28 @@
}
}
&__file-icon {
color: @gray-darker;
font-size: 20px;
}
&__file {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: @uploader-size;
height: @uploader-size;
background-color: #f8f8f8;
&__file-name {
box-sizing: border-box;
width: 100%;
margin-top: 5px;
padding: 0 5px;
color: @gray-darker;
font-size: 12px;
text-align: center;
&-icon {
color: @gray-darker;
font-size: 20px;
}
&-name {
box-sizing: border-box;
width: 100%;
margin-top: 5px;
padding: 0 5px;
color: @gray-darker;
font-size: 12px;
text-align: center;
}
}
}