Fix post actions staggered vertically uneven.
parent
bbfb18da9a
commit
920947d3c8
|
@ -3625,8 +3625,8 @@ small, .small {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
.post-actions .list-inline .list-inline-item {
|
||||
margin-right: 1rem;
|
||||
margin-left: 0.5rem;
|
||||
margin-right: 0.75rem;
|
||||
margin-left: 0rem;
|
||||
}
|
||||
.post-actions .list-inline .list-inline-item:last-child {
|
||||
margin-right: 0;
|
||||
|
@ -3724,6 +3724,8 @@ small, .small {
|
|||
font-size: 12px;
|
||||
text-decoration: none;
|
||||
text-transform: none;
|
||||
padding-left: 0.25rem;
|
||||
padding-right: 0.25rem;
|
||||
}
|
||||
.post-actions a:hover, .post-actions button:hover {
|
||||
color: var(--black);
|
||||
|
|
|
@ -831,12 +831,10 @@
|
|||
<div class="post-actions mt-2">
|
||||
<ul class="list-inline text-right d-flex">
|
||||
|
||||
<li class="list-inline-item">
|
||||
<a {% if v and v.newtab and not g.webview %}target="_blank"{% endif %} href="{{p.permalink}}">
|
||||
<i class="fas fa-comment-dots mr-2"></i>{{p.comment_count}}
|
||||
<span class="text-info d-none {{p.id}}-new-comments"></span>
|
||||
</a>
|
||||
</li>
|
||||
<a class="list-inline-item" {% if v and v.newtab and not g.webview %}target="_blank"{% endif %} href="{{p.permalink}}">
|
||||
<i class="fas fa-comment-dots mr-2"></i>{{p.comment_count}}
|
||||
<span class="text-info d-none {{p.id}}-new-comments"></span>
|
||||
</a>
|
||||
|
||||
{% if v and (v.id==p.author_id or v.admin_level >= PERMS['POST_EDITING']) %}
|
||||
<button type="button" class="list-inline-item" onclick="togglePostEdit('{{p.id}}')"><i class="fas fa-edit"></i>Edit</button>
|
||||
|
|
|
@ -208,12 +208,10 @@
|
|||
{% if p.realbody(v, True) %}
|
||||
<button type="button" class="list-inline-item ml-2" onclick="expandText('{{p.id}}')"><i class="fas fa-expand-alt mx-0 text-expand-icon-{{p.id}}"></i></button>
|
||||
{% endif %}
|
||||
<li class="list-inline-item">
|
||||
<a {% if v and v.newtab and not g.webview %}target="_blank"{% endif %} href="{{p.permalink}}">
|
||||
<i class="fas fa-comment-dots mr-2"></i>{{p.comment_count}}
|
||||
<span class="text-info d-none {{p.id}}-new-comments"></span>
|
||||
</a>
|
||||
</li>
|
||||
<a class="list-inline-item" {% if v and v.newtab and not g.webview %}target="_blank"{% endif %} href="{{p.permalink}}">
|
||||
<i class="fas fa-comment-dots mr-2"></i>{{p.comment_count}}
|
||||
<span class="text-info d-none {{p.id}}-new-comments"></span>
|
||||
</a>
|
||||
{% include 'post_actions.html' %}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue