From 8265137866a7563981caee59e0ad1361ab1a4143 Mon Sep 17 00:00:00 2001 From: Marta Bondyra <4283304+mbondyra@users.noreply.github.com> Date: Fri, 28 Mar 2025 17:18:07 +0100 Subject: [PATCH] [Dashboards] Fix panel actions hidden behind top nav in maximize mode (#216290) ## Summary Fixes https://github.com/elastic/kibana/issues/216289 (cherry picked from commit f699e4ec2097ecaf0bc1f099cfd65092dfc316b4) --- .../panel_component/panel_header/use_hover_actions_styles.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/use_hover_actions_styles.tsx b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/use_hover_actions_styles.tsx index 2127845f88b13..8cecf52a041a4 100644 --- a/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/use_hover_actions_styles.tsx +++ b/src/platform/plugins/private/presentation_panel/public/panel_component/panel_header/use_hover_actions_styles.tsx @@ -81,6 +81,10 @@ export const useHoverActionStyles = (isEditMode: boolean, showBorder?: boolean) opacity: 1; visibility: visible; transition: none; // apply transition delay on hover out only + // when the panel is in fullscreen mode, increase the z-index of the hover actions to be above the sticky nav + .kbnGridPanel--expanded & { + z-index: ${euiTheme.levels.toast}; + } } `; }, [euiTheme, showBorder, isEditMode]);