Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/web-app-mail/src/components/MailList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

<no-content-message
v-if="!mails || !mails.length"
class="mail-list-empty"
class="mail-list-empty min-w-[306px]"
img-src="/images/empty-states/empty-mails.svg"
>
<template #message>
<span v-text="$gettext('No mails in this mailbox')" />
</template>
</no-content-message>

<oc-list v-else class="mail-list">
<oc-list v-else class="mail-list min-w-[306px]">
<li
v-for="mail in mails"
:id="`mail-list-item-${mail.id}`"
Expand Down
5 changes: 4 additions & 1 deletion packages/web-app-mail/src/components/MailListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
<div class="mail-list-item-header">
<div class="mail-list-item-sender flex items-center justify-between gap-2">
<span class="font-bold text-lg truncate flex-1" v-text="fromText"></span>
<span class="mail-list-item-received-at" v-text="receivedAtRelativeDate" />
<span
class="mail-list-item-received-at whitespace-nowrap"
v-text="receivedAtRelativeDate"
/>
</div>
</div>
<div class="mail-list-item-subject mt-1 flex justify-between items-center">
Expand Down
4 changes: 2 additions & 2 deletions packages/web-app-mail/src/views/Inbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<template v-else>
<div class="flex h-full">
<div
class="md:border-r-2 overflow-y-auto min-w-0 w-full md:w-1/4 px-4 md:px-0"
class="md:border-r-2 overflow-y-auto min-w-0 md:min-w-[306px] w-full md:w-1/4 px-4 md:px-0"
:class="{
'hidden md:block': currentMail || !currentMailbox
}"
>
<MailList />
</div>
<div
class="overflow-y-auto min-w-0 w-full md:w-3/4 px-4 pt-4 md:pt-0"
class="overflow-y-auto min-w-0 md:min-w-[306px] w-full md:w-3/4 px-4 pt-4 md:pt-0"
:class="{
'hidden md:block': !currentMail
}"
Expand Down