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

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 {