Minor layout fix in toot partial

This commit is contained in:
Jason McBrayer 2018-05-01 08:37:08 -04:00
parent 8d6ebfc0b2
commit 25cbb258c6
1 changed files with 32 additions and 26 deletions

View File

@ -63,33 +63,39 @@
<p class="is-hidden"></p> <p class="is-hidden"></p>
<nav class="level is-mobile"> <nav class="level is-mobile">
<div class="level-left"> <div class="level-left">
<a class="level-item" href="{% url "reply" toot.id %}"> <div class="level-item">
<span class="icon is-small"><i class="fa fa-reply"> <a href="{% url "reply" toot.id %}">
<span class="is-invisible">Reply</span> <span class="icon is-small"><i class="fa fa-reply">
</i></span> <span class="is-invisible">Reply</span>
</a> </i></span>
<a class="level-item" href="{% url "boost" toot.id %}"> </a>
<span class="icon is-small"> </div>
{% if toot.reblogged %} <div class="level-item">
<i class="fa fa-retweet has-text-warning"> <a href="{% url "boost" toot.id %}">
{% else %} <span class="icon is-small">
<i class="fa fa-retweet" > {% if toot.reblogged %}
{% endif %} <i class="fa fa-retweet has-text-warning">
<span class="is-invisible" >Boost</span> {% else %}
</i> <i class="fa fa-retweet" >
</span> {% endif %}
</a> <span class="is-invisible" >Boost</span>
<a class="level-item" href="{% url "fav" toot.id %}"> </i>
<span class="icon is-small"> </span>
{% if toot.favourited %} </a>
<i class="fa fa-heart has-text-warning"> </div>
{% else %} <div class="level-item">
<i class="fa fa-heart"> <a href="{% url "fav" toot.id %}">
{% endif %} <span class="icon is-small">
{% if toot.favourited %}
<i class="fa fa-heart has-text-warning">
{% else %}
<i class="fa fa-heart">
{% endif %}
<span class="is-invisible" >Favorite</span> <span class="is-invisible" >Favorite</span>
</i> </i>
</span> </span>
</a> </a>
</div>
</div> </div>
<div class="level-right"> <div class="level-right">
<span class="level-item"> <span class="level-item">