[deploy] Quick inline style to solve content jump (#7691)

This commit is contained in:
Ben Halpern 2020-05-05 22:14:47 -04:00 committed by GitHub
parent 01963eacc3
commit 370dc8e5ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
<% cache("whole-comment-area-#{@article.id}-#{@article.last_comment_at}-#{@article.show_comments}", expires_in: 2.hours) do %>
<div id="comments" data-updated-at="<%= Time.current %>">
<% if @article.show_comments %>
<div class="relative flex justify-between items-center mx-2 s:mx-7 mb-2">
<div class="relative flex justify-between items-center mx-2 s:mx-7 mb-2" style="min-height:40px;margin-top:15px;">
<span class="fs-2xl fw-bold">Discussion</span>
<div id="comment-subscription"></div>
</div>