From 33cee9c0c26498d2f4cd9c41d5fe1cca1aec6fa1 Mon Sep 17 00:00:00 2001 From: Gigi Date: Fri, 10 Oct 2025 17:11:26 +0100 Subject: [PATCH] feat: hide main content when sidepanes open on mobile for single-pane view --- src/components/ThreePaneLayout.tsx | 6 +++--- src/index.css | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/ThreePaneLayout.tsx b/src/components/ThreePaneLayout.tsx index a88959bf..cca3bbcf 100644 --- a/src/components/ThreePaneLayout.tsx +++ b/src/components/ThreePaneLayout.tsx @@ -201,7 +201,7 @@ const ThreePaneLayout: React.FC = (props) => { return ( <> - {/* Mobile bookmark button */} + {/* Mobile bookmark button - only show when viewing article */} {isMobile && !props.isSidebarOpen && props.isHighlightsCollapsed && ( )} - {/* Mobile highlights button */} + {/* Mobile highlights button - only show when viewing article */} {isMobile && !props.isSidebarOpen && props.isHighlightsCollapsed && (