courrier correct panel 2 scroll up
This commit is contained in:
parent
d5ce9d5be1
commit
45f0da76c3
@ -174,7 +174,7 @@ export default function CourrierPage() {
|
|||||||
const updated = [...prev];
|
const updated = [...prev];
|
||||||
updated[1] = {
|
updated[1] = {
|
||||||
...updated[1],
|
...updated[1],
|
||||||
name: data.email.split('@')[0] || 'Email',
|
name: data.email,
|
||||||
email: data.email,
|
email: data.email,
|
||||||
folders: mailboxes
|
folders: mailboxes
|
||||||
};
|
};
|
||||||
@ -450,15 +450,10 @@ export default function CourrierPage() {
|
|||||||
>
|
>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<div className={`w-2.5 h-2.5 rounded-full ${account.color}`}></div>
|
<div className={`w-2.5 h-2.5 rounded-full ${account.color}`}></div>
|
||||||
<span className="font-medium text-gray-700">{account.name}</span>
|
<span className="font-medium text-gray-700 truncate">{account.name}</span>
|
||||||
</div>
|
</div>
|
||||||
{account.id !== 0 && (
|
{account.id !== 0 && (
|
||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
{account.email && (
|
|
||||||
<span className="text-xs text-gray-400 mr-1 truncate max-w-[80px]">
|
|
||||||
{account.email}
|
|
||||||
</span>
|
|
||||||
)}
|
|
||||||
{showFolders ?
|
{showFolders ?
|
||||||
<ChevronDown className="h-3.5 w-3.5 text-gray-500" /> :
|
<ChevronDown className="h-3.5 w-3.5 text-gray-500" /> :
|
||||||
<ChevronRight className="h-3.5 w-3.5 text-gray-500" />
|
<ChevronRight className="h-3.5 w-3.5 text-gray-500" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user