From 25508c620e9688130c1077241e9f86c7cc5c8e47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 3 Apr 2025 13:56:28 +0200 Subject: [PATCH] Row: Fixes issue with row content going outside it's bounds (#103350) * Row: Fixes issue with row grid going outside it's bounds * updated fix --- .../dashboard-scene/scene/layout-rows/RowItemRenderer.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/app/features/dashboard-scene/scene/layout-rows/RowItemRenderer.tsx b/public/app/features/dashboard-scene/scene/layout-rows/RowItemRenderer.tsx index c0898fb0569..14994b1d72a 100644 --- a/public/app/features/dashboard-scene/scene/layout-rows/RowItemRenderer.tsx +++ b/public/app/features/dashboard-scene/scene/layout-rows/RowItemRenderer.tsx @@ -145,7 +145,6 @@ export function RowItemRenderer({ model }: SceneComponentProps) { function getStyles(theme: GrafanaTheme2) { return { rowHeader: css({ - width: '100%', display: 'flex', gap: theme.spacing(1), padding: theme.spacing(0.5, 0.5, 0.5, 0), @@ -193,13 +192,13 @@ function getStyles(theme: GrafanaTheme2) { wrapper: css({ display: 'flex', flexDirection: 'column', - width: '100%', minHeight: '100px', }), wrapperNotCollapsed: css({ '> div:nth-child(2)': { marginLeft: theme.spacing(3), position: 'relative', + width: 'auto', '&:before': { content: '""',