From 5e788b002692bc76f69438cd6f23fe979fd14043 Mon Sep 17 00:00:00 2001 From: Gigi Date: Sun, 5 Oct 2025 22:04:01 +0100 Subject: [PATCH] style(highlights): move collapse button to far right of highlights header --- src/components/HighlightsPanel.tsx | 116 +++++++++++++++-------------- src/index.css | 15 +++- 2 files changed, 72 insertions(+), 59 deletions(-) diff --git a/src/components/HighlightsPanel.tsx b/src/components/HighlightsPanel.tsx index d8293aa8..9dd16896 100644 --- a/src/components/HighlightsPanel.tsx +++ b/src/components/HighlightsPanel.tsx @@ -123,69 +123,71 @@ export const HighlightsPanel: React.FC = ({
- {onHighlightVisibilityChange && ( -
+
+ {onHighlightVisibilityChange && ( +
+ + + +
+ )} + {onRefresh && ( + )} + {filteredHighlights.length > 0 && ( - -
- )} - {onRefresh && ( - - )} - {filteredHighlights.length > 0 && ( - - )} + )} +