Skip to content

Commit

Permalink
UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Dec 7, 2024
1 parent 58b9176 commit e62ff63
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ui/src/elements/all-chats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ export class AllChats extends SignalWatcher(LitElement) {
? html`<sl-badge variant="primary" pill
>${chat.myUnreadMessages.length}</sl-badge
>`
: html``}
: html`
<sl-badge variant="primary" pill style="opacity: 0"
>${chat.myUnreadMessages.length}</sl-badge
>
`}
</div>
</div>
</div>`;
Expand Down Expand Up @@ -142,7 +146,7 @@ export class AllChats extends SignalWatcher(LitElement) {
return html`
<sl-relative-time
sync
style="width: 3em; height: 14px; overflow: hidden; text-align: right"
style="text-align: right"
format="narrow"
.date=${new Date(timestamp)}
>
Expand Down

0 comments on commit e62ff63

Please sign in to comment.