Fixed 'Add to favorites' in alert dialog, improved alerts list layout.

This commit is contained in:
2024-09-02 01:22:09 +02:00
parent 8bbb2107f5
commit f0cf35f634
3 changed files with 10 additions and 10 deletions

View File

@@ -108,9 +108,10 @@
<div class="alert-meta">
<div class="alert-triggers">
<Icon
v-if="alert.notify"
v-tooltip="alert.notify ? 'Notify in traxxx' : undefined"
icon="bell2"
:class="{ trigger: alert.notify }"
class="trigger"
/>
<Icon
@@ -121,10 +122,10 @@
/>
<Icon
v-else
v-else-if="alert.stashes.length > 0"
v-tooltip="alert.stashes.length > 0 ? 'Add to Favorites' : undefined"
icon="heart7"
:class="{ trigger: alert.stashes.length > 0 }"
class="trigger"
/>
<!--
@@ -334,11 +335,12 @@ async function removeAlert(alert) {
@media(--small-20) {
.alert {
flex-direction: column;
padding-right: 0;
}
.alert-meta {
padding: .5rem 0 .75rem 0;
justify-content: flex-end;
padding: .5rem 0 .5rem 0;
justify-content: space-between;
}
}
</style>