From 6f86f872a9336d60bb0828027d37d88d314677e0 Mon Sep 17 00:00:00 2001 From: Aaron Roberts Date: Tue, 9 Jun 2026 18:10:39 +0100 Subject: [PATCH] Make image display significantly taller Give the image+text row an explicit 65vh height instead of flex-1 inside a viewport-locked container. Remove the overall height constraint so metadata and commit rows sit naturally below with scroll if needed. Image and textarea containers now use h-full to fill the fixed row height. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/App.jsx | 9 ++++----- frontend/src/components/JobsPanel.jsx | 7 +++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 4839366..105beb6 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -237,12 +237,11 @@ function App() { animate={{ opacity: 1, y: 0 }} exit={{ opacity: 0, y: -20 }} className="flex flex-col gap-4" - style={{ height: 'calc(100vh - 9.5rem)' }} > {/* Image + Text */} -
+
{imagePreview && typeof imagePreview === 'string' ? ( -
+
Source
) : ( -
+

No preview

)} -
+

OCR Text (edit before committing)

diff --git a/frontend/src/components/JobsPanel.jsx b/frontend/src/components/JobsPanel.jsx index 23b3040..803346a 100644 --- a/frontend/src/components/JobsPanel.jsx +++ b/frontend/src/components/JobsPanel.jsx @@ -107,7 +107,6 @@ function JobDetail({ jobId, onClose, onReviewed }) { animate={{ opacity: 1, y: 0 }} exit={{ opacity: 0, y: -20 }} className="flex flex-col gap-4" - style={{ height: 'calc(100vh - 9.5rem)' }} > {/* Top bar */}
@@ -142,8 +141,8 @@ function JobDetail({ jobId, onClose, onReviewed }) { {job && !loading && ( <> {/* Image + Text */} -
-
+
+
Job source { e.target.style.display = 'none' }} />
-
+

{isReviewed ? 'Reviewed Text' : 'OCR Text'} (editable)