Change <i> to <span> for iconified text inside links.

This commit is contained in:
Jason McBrayer 2018-06-13 13:10:27 -04:00
parent a31184face
commit e8b90de6f8
1 changed files with 8 additions and 8 deletions

View File

@ -84,34 +84,34 @@
<nav class="level is-mobile">
<div class="level-left">
<a href="{% url "reply" toot.id %}" class="level-item">
<span class="icon is-small"><i class="fa fa-reply">
<span class="icon is-small"><span class="fa fa-reply">
<span class="is-invisible">Reply</span>
</i></span>
</span></span>
</a>
{% if toot.visibility != 'private' and toot.visibility != 'direct' %}
<a href="{% url "boost" toot.id %}" class="level-item">
<span class="icon is-small">
{% if toot.reblogged %}
<i class="fa fa-retweet has-text-warning">
<span class="fa fa-retweet has-text-warning">
<span class="is-invisible" >Boosted</span>
{% else %}
<i class="fa fa-retweet" >
<span class="fa fa-retweet" >
<span class="is-invisible" >Boost</span>
{% endif %}
</i>
</span>
</span>
</a>
{% endif %}
<a href="{% url "fav" toot.id %}" class="level-item">
<span class="icon is-small">
{% if toot.favourited %}
<i class="fa fa-heart has-text-warning">
<span class="fa fa-heart has-text-warning">
<span class="is-invisible" >Favorited</span>
{% else %}
<i class="fa fa-heart">
<span class="fa fa-heart">
<span class="is-invisible" >Favorite</span>
{% endif %}
</i>
</span>
</span>
</a>
</div>