From f5e9e5bf61347822a410a58ad6ac03438e04079b Mon Sep 17 00:00:00 2001 From: Gigi Date: Wed, 15 Oct 2025 21:47:28 +0200 Subject: [PATCH] fix(ui): position highlight button inside reader pane - Move HighlightButton from fixed viewport positioning to absolute positioning within main pane - Add position: relative to .pane.main for both desktop and mobile layouts - Button now stays within the article/reader view instead of floating outside on desktop - Maintains proper z-index and responsive behavior --- src/components/HighlightButton.tsx | 4 +- src/components/ThreePaneLayout.tsx | 70 +++++++++++++++--------------- src/styles/layout/app.css | 2 + 3 files changed, 40 insertions(+), 36 deletions(-) diff --git a/src/components/HighlightButton.tsx b/src/components/HighlightButton.tsx index b86448a2..0af91c42 100644 --- a/src/components/HighlightButton.tsx +++ b/src/components/HighlightButton.tsx @@ -44,10 +44,10 @@ export const HighlightButton = React.forwardRef = (props) => { {props.support} ) : ( - + <> + + {props.hasActiveAccount && ( + + )} + )}
= (props) => { />
- {props.hasActiveAccount && ( - - )}