Unset max height for videos with title/description
This commit is contained in:
parent
4d2c68e9f5
commit
50ebafdf79
2 changed files with 2 additions and 1 deletions
|
@ -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 a new issue