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
1 changed files with 2 additions and 1 deletions

View File

@ -446,7 +446,7 @@ a.search_subreddit:hover {
"post_score post_media post_thumbnail" auto
"post_score post_body 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; }
@ -529,6 +529,7 @@ a.search_subreddit:hover {
height: auto;
grid-area: post_media;
background-color: var(--highlighted);
display: table;
}
#post_url {