mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
futureproof comment avatars
i was injecting custom css into the site that made the avatars round, and noticed comment avatars looked a little odd i opened dev tools and siffed through the html, and noticed that the image was being padded, when it would look nicer if the element used margin instead of padding with padding: https://imgur.com/c0pB37e with proposed changes (margin instead of padding): https://imgur.com/iKmBzEi
This commit is contained in:
parent
5a8825d016
commit
f7992d2d09
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ def template_youtube_comments(comments, locale, thin_mode, is_replies = false)
|
||||||
html << <<-END_HTML
|
html << <<-END_HTML
|
||||||
<div class="pure-g" style="width:100%">
|
<div class="pure-g" style="width:100%">
|
||||||
<div class="channel-profile pure-u-4-24 pure-u-md-2-24">
|
<div class="channel-profile pure-u-4-24 pure-u-md-2-24">
|
||||||
<img style="padding-right:1em;padding-top:1em;width:90%" src="#{author_thumbnail}">
|
<img style="margin-right:1em;margin-top:1em;width:90%" src="#{author_thumbnail}">
|
||||||
</div>
|
</div>
|
||||||
<div class="pure-u-20-24 pure-u-md-22-24">
|
<div class="pure-u-20-24 pure-u-md-22-24">
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in a new issue