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