From e4f0ee0619e8a1635216953dd2abd120fb273182 Mon Sep 17 00:00:00 2001 From: Lucas Marques Date: Fri, 18 Oct 2024 17:20:21 +0200 Subject: [PATCH] fix(ui): handle dark mode on sync sliding pane (#334) --- ui/src/components/tools/LayerChecklist.tsx | 2 ++ ui/src/modals/SlidingPane.tsx | 16 ++++++++++------ ui/src/pages/Layers.tsx | 4 ++-- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/ui/src/components/tools/LayerChecklist.tsx b/ui/src/components/tools/LayerChecklist.tsx index b123dcc8..02a9b10c 100644 --- a/ui/src/components/tools/LayerChecklist.tsx +++ b/ui/src/components/tools/LayerChecklist.tsx @@ -62,12 +62,14 @@ const LayerChecklist: React.FC = ({
+ {/* Content */}
{children}
diff --git a/ui/src/pages/Layers.tsx b/ui/src/pages/Layers.tsx index 6d10d51e..67d3436f 100644 --- a/ui/src/pages/Layers.tsx +++ b/ui/src/pages/Layers.tsx @@ -143,7 +143,7 @@ const Layers: React.FC = () => { return (
- setShowRefreshPane(false)}> + setShowRefreshPane(false)} variant={theme}>

{

{layersQuery.isSuccess && ( - setSelectedLayersForSync(layers)}/> + setSelectedLayersForSync(layers)} /> )}