Merge pull request #95 from robrobinbin/patch-5

Remove tiny "padding" below inline images
This commit is contained in:
Spike 2021-02-03 21:45:11 -08:00 committed by GitHub
commit c758db84ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -641,10 +641,12 @@ a.search_subreddit:hover {
background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' width='100' height='100' xmlns='http://www.w3.org/2000/svg'><path d='M15,20 h70 a10,10 0 0 1 10,10 v45 a10,10 0 0 1 -10,10 h-70 a10,10 0 0 1 -10,-10 v-45 a10,10 0 0 1 10,-10 z' fill='none' stroke='rgba(128,128,128,0.5)' stroke-width='3' /><path d='M15,75 l25,-35 l15,20 l10,-10 l20, 25 z' stroke='none' fill='rgba(128,128,128,0.5)' /><circle cx='75' cy='35' r='7' stroke='none' fill='rgba(128,128,128,0.5)'/></svg>"); background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 100 100' width='100' height='100' xmlns='http://www.w3.org/2000/svg'><path d='M15,20 h70 a10,10 0 0 1 10,10 v45 a10,10 0 0 1 -10,10 h-70 a10,10 0 0 1 -10,-10 v-45 a10,10 0 0 1 10,-10 z' fill='none' stroke='rgba(128,128,128,0.5)' stroke-width='3' /><path d='M15,75 l25,-35 l15,20 l10,-10 l20, 25 z' stroke='none' fill='rgba(128,128,128,0.5)' /><circle cx='75' cy='35' r='7' stroke='none' fill='rgba(128,128,128,0.5)'/></svg>");
background-position: 50%; background-position: 50%;
background-repeat: no-repeat; background-repeat: no-repeat;
vertical-align: bottom;
} }
.post_media_image img { .post_media_image img {
max-width: 100%; max-width: 100%;
vertical-align: bottom;
} }
#post_url { #post_url {