Fixed 'Add to favorites' in alert dialog, improved alerts list layout.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user