From 6ba5ba39e5994ff5a01b285707b5f8ad33428c51 Mon Sep 17 00:00:00 2001 From: Daniel Aguilar Date: Fri, 1 Nov 2024 20:19:54 +0100 Subject: [PATCH] fix chart-background theme issue --- assets/css/theme-default-dark.css | 4 +++- assets/css/theme-default-light.css | 10 ++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/assets/css/theme-default-dark.css b/assets/css/theme-default-dark.css index a1926b9..052f85e 100644 --- a/assets/css/theme-default-dark.css +++ b/assets/css/theme-default-dark.css @@ -245,7 +245,9 @@ /*=================================================================== PLOTLY ================================================================== */ - .plot-container.plotly svg.main-svg, + .plot-container.plotly svg.main-svg{ + background: none !important; + } .plot-container.plotly svg.main-svg g.infolayer g.legend rect.bg{ fill: none !important; } diff --git a/assets/css/theme-default-light.css b/assets/css/theme-default-light.css index 33e6652..f81a728 100644 --- a/assets/css/theme-default-light.css +++ b/assets/css/theme-default-light.css @@ -246,10 +246,12 @@ /*=================================================================== PLOTLY ================================================================== */ - .plot-container.plotly svg.main-svg, - .plot-container.plotly svg.main-svg g.infolayer g.legend rect.bg{ - fill: none !important; - } + .plot-container.plotly svg.main-svg{ + background: none !important; + } + .plot-container.plotly svg.main-svg g.infolayer g.legend rect.bg{ + fill: none !important; + } .plot-container.plotly svg.main-svg g.infolayer g.rangeslider-container rect.rangeslider-bg{ fill: #00000030 !important; }