courrier multi account
This commit is contained in:
parent
e647499bb6
commit
e4dbc6a5c9
@ -618,8 +618,8 @@ export default function CourrierPage() {
|
||||
<main className="w-full h-screen bg-black">
|
||||
<div className="w-full h-full px-4 pt-12 pb-4">
|
||||
<div className="flex h-full bg-carnet-bg">
|
||||
{/* Sidebar - Force display without conditions */}
|
||||
<div className="w-60 bg-white/95 backdrop-blur-sm border-r border-gray-100 flex flex-col" style={{display: "flex !important"}}>
|
||||
{/* Sidebar - Make sure it's visible regardless of email selection */}
|
||||
<div className="w-60 bg-white/95 backdrop-blur-sm border-r border-gray-100 flex flex-col md:flex" style={{display: "flex !important"}}>
|
||||
{/* Courrier Title */}
|
||||
<div className="p-3 border-b border-gray-100">
|
||||
<div className="flex items-center gap-2">
|
||||
@ -976,7 +976,7 @@ export default function CourrierPage() {
|
||||
</div>
|
||||
|
||||
{/* Main Content Area - conditionally show email list or detail view */}
|
||||
<div className="flex-1 flex flex-col overflow-hidden">
|
||||
<div className="flex-1 flex flex-col overflow-hidden" style={{ maxWidth: 'calc(100% - 240px)' }}>
|
||||
{/* Header bar with search */}
|
||||
<div className="p-2 border-b border-gray-100 bg-white flex items-center justify-between">
|
||||
<Button
|
||||
@ -1072,7 +1072,11 @@ export default function CourrierPage() {
|
||||
) : selectedEmail ? (
|
||||
<EmailDetailView
|
||||
email={selectedEmail}
|
||||
onBack={() => handleEmailSelect('')}
|
||||
onBack={() => {
|
||||
handleEmailSelect('');
|
||||
// Ensure sidebar stays visible
|
||||
setSidebarOpen(true);
|
||||
}}
|
||||
onReply={handleReply}
|
||||
onReplyAll={handleReplyAll}
|
||||
onForward={handleForward}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user