From e8a05f72cbb310512f15c1e54d24671b0aea0ba6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 17 Sep 2025 11:11:28 +0200 Subject: [PATCH] Design: Fixes minor spacing issue in plugin browse and new connection (#111185) --- .../features/connections/tabs/ConnectData/ConnectData.tsx | 7 +++---- public/app/features/plugins/admin/pages/Browse.tsx | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/public/app/features/connections/tabs/ConnectData/ConnectData.tsx b/public/app/features/connections/tabs/ConnectData/ConnectData.tsx index 263cdc03042..7d75a303cde 100644 --- a/public/app/features/connections/tabs/ConnectData/ConnectData.tsx +++ b/public/app/features/connections/tabs/ConnectData/ConnectData.tsx @@ -23,11 +23,10 @@ import { NoAccessModal } from './NoAccessModal'; const getStyles = (theme: GrafanaTheme2) => ({ searchContainer: css({ - backgroundColor: theme.colors.background.primary, - paddingTop: theme.spacing(2), - paddingBottom: theme.spacing(2), + paddingTop: theme.spacing(0.5), + paddingBottom: theme.spacing(1), + marginBottom: theme.spacing(3), borderBottom: `1px solid ${theme.colors.border.weak}`, - marginBottom: theme.spacing(2), }), contentWrap: css({ height: 'calc(100vh - 350px)', diff --git a/public/app/features/plugins/admin/pages/Browse.tsx b/public/app/features/plugins/admin/pages/Browse.tsx index cbd3637fe55..9d3d700055a 100644 --- a/public/app/features/plugins/admin/pages/Browse.tsx +++ b/public/app/features/plugins/admin/pages/Browse.tsx @@ -168,11 +168,10 @@ const getStyles = (theme: GrafanaTheme2) => ({ overflow: 'hidden', }), searchContainer: css({ - backgroundColor: theme.colors.background.primary, - paddingTop: theme.spacing(2), - paddingBottom: theme.spacing(2), + paddingTop: theme.spacing(0.5), + paddingBottom: theme.spacing(1), borderBottom: `1px solid ${theme.colors.border.weak}`, - marginBottom: theme.spacing(2), + marginBottom: theme.spacing(3), }), listWrap: css({ height: 'calc(100vh - 350px)',