[improvement] Card: optimize css (#747)

This commit is contained in:
neverland 2018-10-12 15:05:22 +08:00 committed by GitHub
parent ed3221747f
commit deffdcb7b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,7 @@
color: @text-color;
font-size: 12px;
&--center,
&__thumb {
&--center {
align-items: center;
justify-content: center;
}
@ -24,25 +23,17 @@
}
&__img {
max-width: 100%;
max-height: 100%;
border: none;
width: 100%;
height: 100%;
}
&,
&__thumb,
&__row,
&__content {
display: flex;
}
&__content {
width: 100%;
&--center {
align-items: center;
height: 90px;
}
}
&__title,