From 553b9d77bd0de6e4d4c61b97acde025c41c408fd Mon Sep 17 00:00:00 2001 From: MattiasOz Date: Mon, 2 Oct 2023 14:09:36 +0200 Subject: [PATCH] feat: removed reserved space for empty titles in vega_card, simplified #1923 --- ui/src/vega.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ui/src/vega.tsx b/ui/src/vega.tsx index f91842d62b..f06e5b7915 100644 --- a/ui/src/vega.tsx +++ b/ui/src/vega.tsx @@ -28,7 +28,6 @@ const padding: 24 }, body: { - marginTop: 16, flexGrow: 1, display: 'flex', }, @@ -148,14 +147,9 @@ export const return (
{title &&
{title}
} - {title &&
-
} - {!title && -
- -
} +
) }