From 9bdeca8d107cd35a776b2132f8893600c33158a9 Mon Sep 17 00:00:00 2001 From: Alex Spencer <52186778+alexjonspencer1@users.noreply.github.com> Date: Mon, 27 Jan 2025 09:16:31 -0700 Subject: [PATCH] ExemplarMarker: Fix exemplar tooltip box shadow (#99464) fix: exempla tooltip box shadow --- .../app/features/visualization/data-hover/ExemplarHoverView.tsx | 1 - public/app/plugins/panel/timeseries/plugins/ExemplarMarker.tsx | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/visualization/data-hover/ExemplarHoverView.tsx b/public/app/features/visualization/data-hover/ExemplarHoverView.tsx index 14b4db2dfc1..b353b08abba 100644 --- a/public/app/features/visualization/data-hover/ExemplarHoverView.tsx +++ b/public/app/features/visualization/data-hover/ExemplarHoverView.tsx @@ -60,7 +60,6 @@ const getStyles = (theme: GrafanaTheme2, padding = 0) => { borderRadius: theme.shape.radius.default, background: theme.colors.background.primary, border: `1px solid ${theme.colors.border.weak}`, - boxShadow: `0 4px 8px ${theme.colors.background.primary}`, }), exemplarHeader: css({ display: 'flex', diff --git a/public/app/plugins/panel/timeseries/plugins/ExemplarMarker.tsx b/public/app/plugins/panel/timeseries/plugins/ExemplarMarker.tsx index fec87618709..54e79e06743 100644 --- a/public/app/plugins/panel/timeseries/plugins/ExemplarMarker.tsx +++ b/public/app/plugins/panel/timeseries/plugins/ExemplarMarker.tsx @@ -285,6 +285,7 @@ const getExemplarMarkerStyles = (theme: GrafanaTheme2) => { padding: 0, overflowY: 'auto', maxHeight: '95vh', + boxShadow: theme.shadows.z2, }), header: css({ background: headerBg,