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

Reviewed-on: AkkomaGang/akkoma-fe#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 <Timeago
:time="notification.created_at" :time="notification.created_at"
:with-direction="true"
:auto-update="240" :auto-update="240"
/> />
</router-link> </router-link>

View file

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

View file

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