From 780a64e771cd05d7f769d97ef85a312747aeacf0 Mon Sep 17 00:00:00 2001 From: Sergej-Vlasov <37613182+Sergej-Vlasov@users.noreply.github.com> Date: Mon, 1 Dec 2025 16:08:26 +0000 Subject: [PATCH] DashboardControls: Adjust dashboard controls UI shift (#114639) adjust controls layout --- .../dashboard-scene/scene/DashboardControls.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/public/app/features/dashboard-scene/scene/DashboardControls.tsx b/public/app/features/dashboard-scene/scene/DashboardControls.tsx index 0679ab32f88..653829fcb4f 100644 --- a/public/app/features/dashboard-scene/scene/DashboardControls.tsx +++ b/public/app/features/dashboard-scene/scene/DashboardControls.tsx @@ -171,7 +171,7 @@ function DashboardControlsRenderer({ model }: SceneComponentProps
{!hideTimeControls && ( -
+
@@ -181,7 +181,11 @@ function DashboardControlsRenderer({ model }: SceneComponentProps
)} - {config.featureToggles.dashboardNewLayouts && } + {config.featureToggles.dashboardNewLayouts && ( +
+ +
+ )} {!hideLinksControls && !editPanel && }
{!hideVariableControls && ( @@ -274,12 +278,12 @@ function getStyles(theme: GrafanaTheme2) { display: 'flex', gap: theme.spacing(1), float: 'right', - alignItems: 'center', + alignItems: 'flex-start', flexWrap: 'wrap', maxWidth: '100%', minWidth: 0, }), - timeControls: css({ + fixedControls: css({ display: 'flex', justifyContent: 'flex-end', gap: theme.spacing(1),