refactor(NotesPageClient, MarkdownEditor): streamline layout by refining flex properties for better responsiveness

This commit is contained in:
Julien Froidefond
2026-01-28 11:29:32 +01:00
parent c437baa8e6
commit b969ab2bd8
2 changed files with 3 additions and 3 deletions

View File

@@ -449,7 +449,7 @@ function NotesPageContent({
</div>
{/* Main Editor Area */}
<div className="flex-1 flex flex-col min-h-0 min-w-0 w-0">
<div className="flex-1 flex flex-col min-h-0 min-w-0">
{error && (
<div className="flex items-center gap-2 p-3 bg-[var(--destructive)]/10 border-b border-[var(--destructive)]/20 text-[var(--destructive)]">
<AlertCircle className="w-4 h-4" />
@@ -532,7 +532,7 @@ function NotesPageContent({
</div>
{/* Editor */}
<div className="flex-1 min-h-0 min-w-0 w-0">
<div className="flex-1 min-h-0 min-w-0">
<MarkdownEditor
value={selectedNote.content}
onChange={handleContentChange}

View File

@@ -790,7 +790,7 @@ export function MarkdownEditor({
)}
{/* Editor/Tags Area */}
<div className="flex-1 flex overflow-hidden w-0">
<div className="flex-1 flex overflow-hidden min-w-0">
{!isEditing ? (
/* Mode Aperçu avec Tags */
<div className="w-full flex flex-col">