From ddb6464bdfab621398c089d8e9bdf39aa595d022 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Thu, 7 May 2020 01:58:19 -0700 Subject: [PATCH] Alerts: set zindex above the panel inspector (#24354) * set alert zindex * use tooltip zindex --- packages/grafana-ui/src/components/Alert/_Alert.scss | 4 ++++ .../dashboard/components/Inspector/InspectJSONTab.tsx | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/Alert/_Alert.scss b/packages/grafana-ui/src/components/Alert/_Alert.scss index 98b65ebd295..0d801ebc20b 100644 --- a/packages/grafana-ui/src/components/Alert/_Alert.scss +++ b/packages/grafana-ui/src/components/Alert/_Alert.scss @@ -39,6 +39,10 @@ background: $alert-warning-bg; } +.alert-container { + z-index: $zindex-tooltip; +} + .page-alert-list { z-index: 8000; min-width: 400px; diff --git a/public/app/features/dashboard/components/Inspector/InspectJSONTab.tsx b/public/app/features/dashboard/components/Inspector/InspectJSONTab.tsx index 4136db0462c..fe46f155068 100644 --- a/public/app/features/dashboard/components/Inspector/InspectJSONTab.tsx +++ b/public/app/features/dashboard/components/Inspector/InspectJSONTab.tsx @@ -104,7 +104,6 @@ export class InspectJSONTab extends PureComponent { onClipboardCopied = () => { appEvents.emit(AppEvents.alertSuccess, ['Content copied to clipboard']); - alert('TODO... the notice is behind the inspector!'); }; onApplyPanelModel = () => {