From 8ad3087d3ca0f758ba986104e3e90a63b8bb0d07 Mon Sep 17 00:00:00 2001 From: Adela Almasan <88068998+adela-almasan@users.noreply.github.com> Date: Tue, 7 Nov 2023 15:17:33 -0600 Subject: [PATCH] Tooltips: Update styling (#77831) --- .../grafana-ui/src/components/uPlot/plugins/TooltipPlugin2.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/uPlot/plugins/TooltipPlugin2.tsx b/packages/grafana-ui/src/components/uPlot/plugins/TooltipPlugin2.tsx index 51b3a1cda48..b72e6e10edd 100644 --- a/packages/grafana-ui/src/components/uPlot/plugins/TooltipPlugin2.tsx +++ b/packages/grafana-ui/src/components/uPlot/plugins/TooltipPlugin2.tsx @@ -303,7 +303,8 @@ const getStyles = (theme: GrafanaTheme2) => ({ whiteSpace: 'pre', borderRadius: theme.shape.radius.default, position: 'absolute', - background: theme.colors.background.secondary, + background: theme.colors.background.primary, + border: `1px solid ${theme.colors.border.weak}`, boxShadow: `0 4px 8px ${theme.colors.background.primary}`, userSelect: 'text', }),