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>
<FAIcon
v-else
class="FavoriteButton fa-scale-110 fa-old-padding"
:title="$t('tool_tip.favorite')"
:icon="['far', 'star']"
/>
<span v-else>
<FAIcon
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>
<FAIcon
v-else
icon="reply"
class="fa-scale-110 fa-old-padding"
:title="$t('tool_tip.reply')"
/>
<span v-else>
<FAIcon
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>
<FAIcon
v-else-if="loggedIn"
class="fa-scale-110 fa-old-padding"
icon="lock"
:title="$t('timeline.no_retweet_hint')"
/>
<FAIcon
v-else
class="fa-scale-110 fa-old-padding"
icon="retweet"
:title="$t('tool_tip.repeat')"
/>
<span v-else-if="loggedIn">
<FAIcon
class="fa-scale-110 fa-old-padding"
icon="lock"
:title="$t('timeline.no_retweet_hint')"
/>
</span>
<span v-else>
<FAIcon
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 {