Fix channel thumbnail size in FireFox

This commit is contained in:
Omar Roth 2019-07-03 10:53:33 -05:00
parent 60826c2d0c
commit 1485ee8027
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2

View file

@ -165,7 +165,7 @@ var video_data = {
<div class="pure-u-1 <% if params.related_videos || plid %>pure-u-lg-3-5<% else %>pure-u-md-4-5<% end %>"> <div class="pure-u-1 <% if params.related_videos || plid %>pure-u-lg-3-5<% else %>pure-u-md-4-5<% end %>">
<div class="h-box"> <div class="h-box">
<a href="/channel/<%= video.ucid %>" style="display:block;width:fit-content"> <a href="/channel/<%= video.ucid %>" style="display:block;width:fit-content;width:-moz-fit-content">
<div class="channel-profile"> <div class="channel-profile">
<img src="/ggpht<%= URI.parse(video.author_thumbnail).full_path %>"> <img src="/ggpht<%= URI.parse(video.author_thumbnail).full_path %>">
<span><%= video.author %></span> <span><%= video.author %></span>