Merge pull request 'Stop constant movement of notifications due to changing timestamps' (#353) from Oneric/akkoma-fe:notification-writhing into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/353
This commit is contained in:
floatingghost 2023-12-15 11:57:47 +00:00
commit a8f193d4bd
3 changed files with 5 additions and 3 deletions

View file

@ -151,7 +151,6 @@
>
<Timeago
:time="notification.created_at"
:with-direction="true"
:auto-update="240"
/>
</router-link>

View file

@ -105,9 +105,12 @@
flex: 1;
padding-left: 0.8em;
min-width: 0;
}
.heading-right, .notification-right {
.timeago {
min-width: 3em;
display: inline-block;
min-width: 6em;
text-align: right;
}
}

View file

@ -190,7 +190,7 @@
>
<Timeago
:time="status.created_at"
:with-direction="true"
:with-direction="!compact"
:auto-update="60"
/>
</router-link>