From 7e96e41ba4c00e8f1a2551f31220b82aad617260 Mon Sep 17 00:00:00 2001 From: Evan Reichard Date: Sat, 21 Mar 2026 21:41:00 -0400 Subject: [PATCH] wip 18 --- frontend/src/components/Field.tsx | 2 +- frontend/src/icons/CheckIcon.tsx | 2 +- frontend/src/icons/CloseIcon.tsx | 2 +- frontend/src/pages/DocumentPage.tsx | 100 ++++++++++++++-------------- 4 files changed, 53 insertions(+), 53 deletions(-) diff --git a/frontend/src/components/Field.tsx b/frontend/src/components/Field.tsx index bbdc755..ba34381 100644 --- a/frontend/src/components/Field.tsx +++ b/frontend/src/components/Field.tsx @@ -6,7 +6,7 @@ interface FieldProps { isEditing?: boolean; } -export function Field({ label, children, isEditing = false }: FieldProps) { +export function Field({ label, children, isEditing: _isEditing = false }: FieldProps) { return (
{label}
diff --git a/frontend/src/icons/CheckIcon.tsx b/frontend/src/icons/CheckIcon.tsx index 6449135..b852783 100644 --- a/frontend/src/icons/CheckIcon.tsx +++ b/frontend/src/icons/CheckIcon.tsx @@ -12,7 +12,7 @@ export function CheckIcon({ size = 24, className = '', disabled = false }: Check ); diff --git a/frontend/src/icons/CloseIcon.tsx b/frontend/src/icons/CloseIcon.tsx index 587fa7e..d793df3 100644 --- a/frontend/src/icons/CloseIcon.tsx +++ b/frontend/src/icons/CloseIcon.tsx @@ -12,7 +12,7 @@ export function CloseIcon({ size = 24, className = '', disabled = false }: Close ); diff --git a/frontend/src/pages/DocumentPage.tsx b/frontend/src/pages/DocumentPage.tsx index d02a43a..adb4ed4 100644 --- a/frontend/src/pages/DocumentPage.tsx +++ b/frontend/src/pages/DocumentPage.tsx @@ -159,54 +159,54 @@ export default function DocumentPage() {
+ {/* Edit Cover Dropdown */} +
+ setShowEditCover(e.target.checked)} + /> +
+
+ + +
+
+ + +
+
+
+ {/* Icons Container */}
- {/* Edit Cover Dropdown */} -
- setShowEditCover(e.target.checked)} - /> -
-
- - -
-
- - -
-
-
- {/* Delete Button */}
- +
) : (
) : ( @@ -418,7 +418,7 @@ export default function DocumentPage() { type="text" value={editAuthor} onChange={e => setEditAuthor(e.target.value)} - className="grow rounded border border-blue-200 bg-blue-50 p-2 text-lg font-medium text-black focus:outline-none focus:ring-2 focus:ring-blue-400 dark:border-blue-700 dark:bg-blue-900/20 dark:text-white dark:focus:ring-blue-500" + className="w-full rounded border border-blue-200 bg-blue-50 p-2 text-lg font-medium text-black focus:outline-none focus:ring-2 focus:ring-blue-400 dark:border-blue-700 dark:bg-blue-900/20 dark:text-white dark:focus:ring-blue-500" /> ) : (