Neah version mail design fix 7 bis ????
This commit is contained in:
parent
820d444180
commit
38b32e4bf2
@ -767,11 +767,11 @@ export default function MailPage() {
|
||||
{selectedEmails.length} selected
|
||||
</span>
|
||||
</div>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<div className="flex items-center gap-1.5">
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
className="text-gray-600 hover:text-gray-900 h-8"
|
||||
className="text-gray-600 hover:text-gray-900 h-8 px-2"
|
||||
onClick={() => {
|
||||
const allSelectedRead = selectedEmails.every(id =>
|
||||
emails.find(email => email.id.toString() === id)?.read
|
||||
@ -779,29 +779,29 @@ export default function MailPage() {
|
||||
handleBulkAction(allSelectedRead ? 'mark-unread' : 'mark-read');
|
||||
}}
|
||||
>
|
||||
<EyeOff className="h-4 w-4 mr-1.5" />
|
||||
<EyeOff className="h-4 w-4 mr-1" />
|
||||
<span className="text-sm">
|
||||
Mark {selectedEmails.every(id =>
|
||||
{selectedEmails.every(id =>
|
||||
emails.find(email => email.id.toString() === id)?.read
|
||||
) ? 'unread' : 'read'}
|
||||
) ? 'Unread' : 'Read'}
|
||||
</span>
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
className="text-gray-600 hover:text-gray-900 h-8"
|
||||
className="text-gray-600 hover:text-gray-900 h-8 px-2"
|
||||
onClick={() => handleBulkAction('archive')}
|
||||
>
|
||||
<Archive className="h-4 w-4 mr-1.5" />
|
||||
<Archive className="h-4 w-4 mr-1" />
|
||||
<span className="text-sm">Archive</span>
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
className="text-red-600 hover:text-red-700 h-8"
|
||||
className="text-red-600 hover:text-red-700 h-8 px-2"
|
||||
onClick={() => handleBulkAction('delete')}
|
||||
>
|
||||
<Trash2 className="h-4 w-4 mr-1.5" />
|
||||
<Trash2 className="h-4 w-4 mr-1" />
|
||||
<span className="text-sm">Delete</span>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user