post: fix post vote horizontal content reflow #131
|
@ -3946,9 +3946,8 @@ small, .small {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
#thread .voting {
|
#thread .voting {
|
||||||
min-width: 10px;
|
min-width: 32px;
|
||||||
margin-right: 10px;
|
margin-right: 1px;
|
||||||
overflow-wrap: normal;
|
|
||||||
}
|
}
|
||||||
#frontpage .voting, #search .voting, #userpage .voting {
|
#frontpage .voting, #search .voting, #userpage .voting {
|
||||||
margin: auto 0;
|
margin: auto 0;
|
||||||
|
|
|
@ -224,7 +224,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% if v %}
|
{% if v %}
|
||||||
<div id="voting" class="voting d-mob-none mb-auto">
|
<div id="voting" class="voting d-mob-none mb-auto mt-1">
|
||||||
<div tabindex="0" data-nonce="{{g.nonce}}" data-onclick="vote('post', '{{p.id}}', '1')" class="post-{{p.id}}-up mx-auto arrow-up upvote-button post-{{p.id}}-up {% if voted==1 %}active{% endif %}"></div>
|
<div tabindex="0" data-nonce="{{g.nonce}}" data-onclick="vote('post', '{{p.id}}', '1')" class="post-{{p.id}}-up mx-auto arrow-up upvote-button post-{{p.id}}-up {% if voted==1 %}active{% endif %}"></div>
|
||||||
|
|
||||||
<span class="post-score-{{p.id}} score post-score-{{p.id}} {% if voted==1 %}score-up{% elif voted==-1%}score-down{% endif %}{% if p.controversial %} controversial{% endif %}" data-bs-toggle="tooltip" data-bs-placement="right" title="+{{ups}} | -{{downs}}" style="cursor: default">{{score}}</span>
|
<span class="post-score-{{p.id}} score post-score-{{p.id}} {% if voted==1 %}score-up{% elif voted==-1%}score-down{% endif %}{% if p.controversial %} controversial{% endif %}" data-bs-toggle="tooltip" data-bs-placement="right" title="+{{ups}} | -{{downs}}" style="cursor: default">{{score}}</span>
|
||||||
|
@ -233,7 +233,7 @@
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
<div id="voting" class="voting d-mob-none mb-auto">
|
<div id="voting" class="voting d-mob-none mb-auto mt-1">
|
||||||
<a tabindex="0" class="post-{{p.id}}-up arrow-up mx-auto" href="/login?redirect={{request.full_path | urlencode}}">
|
<a tabindex="0" class="post-{{p.id}}-up arrow-up mx-auto" href="/login?redirect={{request.full_path | urlencode}}">
|
||||||
</a>
|
</a>
|
||||||
<span class="post-{{p.id}}-score-none score text-muted{% if p.controversial %} controversial{% endif %}"{% if not p.is_banned %} data-bs-toggle="tooltip" data-bs-placement="right" title="+{{ups}} | -{{downs}}"{% endif %}style="cursor: default">{{score}}</span>
|
<span class="post-{{p.id}}-score-none score text-muted{% if p.controversial %} controversial{% endif %}"{% if not p.is_banned %} data-bs-toggle="tooltip" data-bs-placement="right" title="+{{ups}} | -{{downs}}"{% endif %}style="cursor: default">{{score}}</span>
|
||||||
|
|
Loading…
Reference in New Issue