Unset max height for videos with title/description
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user