Unset max height for videos with title/description

This commit is contained in:
Zed 2019-11-04 23:13:58 +01:00
parent 4d2c68e9f5
commit 50ebafdf79
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@
.card {
margin: 5px 0;
pointer-events: all;
max-height: unset;
}
.card-container {

View file

@ -79,7 +79,7 @@ proc renderVideo(video: Video; prefs: Prefs; path: string): VNode =
let container =
if video.description.len > 0 or video.title.len > 0: " card-container"
else: ""
buildHtml(tdiv(class="attachments")):
buildHtml(tdiv(class="attachments card")):
tdiv(class="gallery-video" & container):
tdiv(class="attachment video-container"):
let thumb = getPicUrl(video.thumb)