fix no thumbnail style on search page

This commit is contained in:
Sean Yesmunt 2018-06-15 13:18:15 -04:00
parent 8d09b03064
commit e4a7b85d02
2 changed files with 10 additions and 6 deletions

View file

@ -27,15 +27,15 @@
padding-top: var(--video-aspect-ratio); padding-top: var(--video-aspect-ratio);
} }
.channel-name { .card__media-text {
font-size: 12px;
}
}
.card__media-text {
// for the weird padding required for dynamic height // for the weird padding required for dynamic height
// this lets the text sit in the middle instead of the bottom // this lets the text sit in the middle instead of the bottom
margin-top: calc(var(--video-aspect-ratio) * -1); margin-top: calc(var(--video-aspect-ratio) * -1);
}
.channel-name {
font-size: 12px;
}
} }
.card--link { .card--link {

View file

@ -90,6 +90,10 @@
&.content__empty--nsfw { &.content__empty--nsfw {
background-color: var(--color-nsfw); background-color: var(--color-nsfw);
} }
.card__media-text {
margin-top: calc(var(--video-aspect-ratio) * -1);
}
} }
img { img {