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
|
{selectedEmails.length} selected
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-wrap gap-2">
|
<div className="flex items-center gap-1.5">
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
size="sm"
|
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={() => {
|
onClick={() => {
|
||||||
const allSelectedRead = selectedEmails.every(id =>
|
const allSelectedRead = selectedEmails.every(id =>
|
||||||
emails.find(email => email.id.toString() === id)?.read
|
emails.find(email => email.id.toString() === id)?.read
|
||||||
@ -779,29 +779,29 @@ export default function MailPage() {
|
|||||||
handleBulkAction(allSelectedRead ? 'mark-unread' : 'mark-read');
|
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">
|
<span className="text-sm">
|
||||||
Mark {selectedEmails.every(id =>
|
{selectedEmails.every(id =>
|
||||||
emails.find(email => email.id.toString() === id)?.read
|
emails.find(email => email.id.toString() === id)?.read
|
||||||
) ? 'unread' : 'read'}
|
) ? 'Unread' : 'Read'}
|
||||||
</span>
|
</span>
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
size="sm"
|
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')}
|
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>
|
<span className="text-sm">Archive</span>
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
size="sm"
|
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')}
|
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>
|
<span className="text-sm">Delete</span>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user