posts: adjust css of thumbnail video length indicator.
Switch the font to 11px bold Arial. This is more compact and more readable than 9px Tahoma. Also add a slight border radius and margins around the indicator to make it stand out from the edge of the image.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<%= tag.article id: "post_#{post.id}", **article_attrs do -%>
|
||||
<%= link_to polymorphic_path(link_target, q: tags) do -%>
|
||||
<% if is_animated? || has_sound? %>
|
||||
<div class="post-animation-icon absolute top-0.5 left-0.5 p-0.5 leading-none text-xs">
|
||||
<div class="post-animation-icon absolute top-0.5 left-0.5 p-0.5 m-0.5 leading-none rounded text-xs font-arial font-bold">
|
||||
<% if is_animated? %>
|
||||
<span class="post-duration align-middle">
|
||||
<%= duration_to_hhmmss(duration) %>
|
||||
|
||||
Reference in New Issue
Block a user