Unset max height for videos with title/description
This commit is contained in:
parent
4d2c68e9f5
commit
50ebafdf79
|
@ -4,6 +4,7 @@
|
|||
.card {
|
||||
margin: 5px 0;
|
||||
pointer-events: all;
|
||||
max-height: unset;
|
||||
}
|
||||
|
||||
.card-container {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue