From f3f80449a6f864b72f7542ee16dca56fd85bac4f Mon Sep 17 00:00:00 2001 From: Gigi Date: Mon, 13 Oct 2025 21:58:50 +0200 Subject: [PATCH] refactor(layout): migrate mobile buttons to Tailwind utilities - Convert mobile hamburger and highlights buttons to Tailwind - Migrate mobile backdrop to Tailwind utilities - Remove 60+ lines of CSS from app.css and sidebar.css - Maintain responsive behavior and z-index layering - Keep dynamic color support for highlight button --- src/components/ThreePaneLayout.tsx | 28 +++++++++++++++++++----- src/styles/layout/app.css | 35 +----------------------------- src/styles/layout/sidebar.css | 35 +----------------------------- 3 files changed, 24 insertions(+), 74 deletions(-) diff --git a/src/components/ThreePaneLayout.tsx b/src/components/ThreePaneLayout.tsx index 28f281e9..64890d17 100644 --- a/src/components/ThreePaneLayout.tsx +++ b/src/components/ThreePaneLayout.tsx @@ -224,7 +224,15 @@ const ThreePaneLayout: React.FC = (props) => { {/* Mobile bookmark button - only show when viewing article */} {isMobile && !props.isSidebarOpen && props.isHighlightsCollapsed && ( @@ -252,7 +266,9 @@ const ThreePaneLayout: React.FC = (props) => { {/* Mobile backdrop */} {isMobile && (