Merge pull request #64 from robrobinbin/master

Should fix the strange overflowing placeholder when an image fails to load
This commit is contained in:
Spike 2021-01-20 21:46:58 +00:00 committed by GitHub
commit 53fa946c75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -446,7 +446,7 @@ a.search_subreddit:hover {
"post_score post_media post_thumbnail" auto "post_score post_media post_thumbnail" auto
"post_score post_body post_thumbnail" auto "post_score post_body post_thumbnail" auto
"post_score post_footer post_thumbnail" auto "post_score post_footer post_thumbnail" auto
/ minmax(40px, auto) 1fr fit-content(min(20%, 152px)); / minmax(40px, auto) minmax(0, 1fr) fit-content(min(20%, 152px));
} }
.post:not(:last-child) { margin-bottom: 10px; } .post:not(:last-child) { margin-bottom: 10px; }
@ -529,6 +529,7 @@ a.search_subreddit:hover {
height: auto; height: auto;
grid-area: post_media; grid-area: post_media;
background-color: var(--highlighted); background-color: var(--highlighted);
display: table;
} }
#post_url { #post_url {