Changed alert trigger icon titles to tooltips.

This commit is contained in:
DebaucheryLibrarian 2024-05-28 05:55:14 +02:00
parent 8d364b1cbd
commit f48afaeffa
1 changed files with 4 additions and 4 deletions

View File

@ -91,22 +91,22 @@
> >
<div class="alert-triggers"> <div class="alert-triggers">
<Icon <Icon
v-tooltip="alert.notify ? 'Notify in traxxx' : undefined"
icon="bell2" icon="bell2"
:title="alert.notify ? 'Notify in traxxx' : undefined"
:class="{ trigger: alert.notify }" :class="{ trigger: alert.notify }"
/> />
<Icon <Icon
v-if="alert.stashes.some((stash) => !stash.isPrimary)" v-if="alert.stashes.some((stash) => !stash.isPrimary)"
v-tooltip="`Add to ${alert.stashes.map((stash) => stash.name).join(', ')}`"
icon="folder-heart" icon="folder-heart"
:title="`Add to ${alert.stashes.map((stash) => stash.name).join(', ')}`"
class="trigger" class="trigger"
/> />
<Icon <Icon
v-else v-else
v-tooltip="alert.stashes.length > 0 ? 'Add to Favorites' : undefined"
icon="heart7" icon="heart7"
:title="alert.stashes.length > 0 ? 'Add to Favorites' : undefined"
:class="{ trigger: alert.stashes.length > 0 }" :class="{ trigger: alert.stashes.length > 0 }"
/> />
@ -409,7 +409,7 @@ async function removeAlert(alert) {
display: flex; display: flex;
align-items: center; align-items: center;
gap: .5rem; gap: .5rem;
margin-right: 1rem; margin-right: .75rem;
.icon { .icon {
fill: var(--shadow-weak-40); fill: var(--shadow-weak-40);