carnet uix layout
This commit is contained in:
parent
b5ef10a3db
commit
6aca9ea88c
@ -167,8 +167,23 @@ export default function CarnetPage() {
|
||||
{/* Add your folder content here */}
|
||||
</div>
|
||||
) : (
|
||||
<div className="flex items-center justify-center h-full">
|
||||
<p className="text-carnet-text-muted">Select a folder to view its contents</p>
|
||||
<div className="flex h-full">
|
||||
{showNotes && (
|
||||
<>
|
||||
<div style={{ width: notesWidth }}>
|
||||
<NotesView onNoteSelect={handleNoteSelect} />
|
||||
</div>
|
||||
<PanelResizer
|
||||
isDragging={isDraggingNotes}
|
||||
onDragStart={() => setIsDraggingNotes(true)}
|
||||
onDragEnd={() => setIsDraggingNotes(false)}
|
||||
onDrag={handleNotesResize}
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
<div className="flex-1">
|
||||
<Editor note={selectedNote} onSave={handleNoteSave} />
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user