Inline videos/gifs for card view (#107)

* Basic gallery support

* Inline videos for card view
This commit is contained in:
robrobinbin 2021-02-08 01:22:14 +01:00 committed by GitHub
parent cf45d53fdd
commit 7edca18f8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 1 deletions

View file

@ -641,6 +641,13 @@ a.search_subreddit:hover {
max-width: calc(100% - 40px);
grid-area: post_media;
margin: 15px auto 5px auto;
height: auto;
}
.post_media_video.short {
max-height: 512px;
width: auto;
}
.post_media_image.short svg, .post_media_image.short img{