[improvement] Card: use Image component

This commit is contained in:
陈嘉涵
2019-05-17 16:30:08 +08:00
parent 4bdfab4cb6
commit fbc232d78a
3 changed files with 33 additions and 24 deletions
-9
View File
@@ -19,19 +19,10 @@
&__thumb {
position: relative;
display: flex;
flex: none;
align-items: center;
justify-content: center;
width: @card-thumb-size;
height: @card-thumb-size;
margin-right: 10px;
img {
max-width: 100%;
max-height: 100%;
border: none;
}
}
&__content {