Remove unnecessary "action-space" for non-signed-in users (#8159)

* Remove published-at for narrow screens

* Action space

* revert published-at-thing
This commit is contained in:
Ben Halpern 2020-05-29 13:48:14 -04:00 committed by GitHub
parent 927c0429c0
commit 9de9c57c63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,7 +152,9 @@
</span>
<% end %>
<span class="published-at">・<%= @article.reading_time < 1 ? 1 : @article.reading_time %> min read</span>
<span class="action-space" id="action-space">&nbsp;</span>
<% if user_signed_in? %>
<span class="action-space" id="action-space">&nbsp;</span>
<% end %>
</h3>
<% cache("main-article-tags-#{@article.cached_tag_list}", expires_in: 30.hours) do %>
<div class="tags">