fix alternative icons having wrong offsets

This commit is contained in:
Shpuld Shpuldson 2020-11-26 23:01:16 +02:00
parent 5dfcf2acac
commit 276ef31145
3 changed files with 31 additions and 27 deletions

View File

@ -13,12 +13,13 @@
:spin="animated"
/>
</button>
<span v-else>
<FAIcon
v-else
class="FavoriteButton fa-scale-110 fa-old-padding"
class="fa-scale-110 fa-old-padding"
:title="$t('tool_tip.favorite')"
:icon="['far', 'star']"
/>
</span>
<span
v-if="!mergedConfig.hidePostStats && status.fave_num > 0"
class="action-counter"
@ -38,7 +39,7 @@
> :first-child {
padding: 10px;
margin: -10px -5px -10px -10px;
margin: -10px -8px -10px -10px;
}
.action-counter {

View File

@ -12,12 +12,13 @@
icon="reply"
/>
</button>
<span v-else>
<FAIcon
v-else
icon="reply"
class="fa-scale-110 fa-old-padding"
:title="$t('tool_tip.reply')"
/>
</span>
<span
v-if="status.replies_count > 0"
class="action-counter"
@ -37,7 +38,7 @@
> :first-child {
padding: 10px;
margin: -10px -5px -10px -10px;
margin: -10px -8px -10px -10px;
}
.action-counter {

View File

@ -13,18 +13,20 @@
:spin="animated"
/>
</button>
<span v-else-if="loggedIn">
<FAIcon
v-else-if="loggedIn"
class="fa-scale-110 fa-old-padding"
icon="lock"
:title="$t('timeline.no_retweet_hint')"
/>
</span>
<span v-else>
<FAIcon
v-else
class="fa-scale-110 fa-old-padding"
icon="retweet"
:title="$t('tool_tip.repeat')"
/>
</span>
<span
v-if="!mergedConfig.hidePostStats && status.repeat_num > 0"
class="no-event"
@ -44,7 +46,7 @@
> :first-child {
padding: 10px;
margin: -10px -5px -10px -10px;
margin: -10px -8px -10px -10px;
}
.action-counter {