From 58349c2b328f67e41328ebadc7895e11c4f364a6 Mon Sep 17 00:00:00 2001 From: Alex Hernandez Date: Mon, 16 Mar 2026 22:30:17 +1000 Subject: [PATCH] :lipstick: cleaner ui for feedback --- src/renderer/App.tsx | 7 - .../components/Toolbar/AnalysisToolbar.tsx | 158 +++++++++++------- src/renderer/components/Toolbar/Toolbar.css | 39 +++++ src/renderer/styles/app.css | 4 - 4 files changed, 141 insertions(+), 67 deletions(-) diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx index ed72d0a..775c986 100644 --- a/src/renderer/App.tsx +++ b/src/renderer/App.tsx @@ -121,13 +121,6 @@ export default function App(): JSX.Element { />
- - - - - - - - - @@ -294,11 +283,68 @@ export function AnalysisToolbar(): JSX.Element { Clear )} + + {analyzeOpen && analyzeButtonRef.current && createPortal( + (() => { + const rect = analyzeButtonRef.current!.getBoundingClientRect() + return ( +
+ + + + + +
+ ) + })(), + document.body + )} )}
+