From 2af6f5a97b792ab81dd8eea2de5d14ea18e2fe3e Mon Sep 17 00:00:00 2001 From: Hugo Lextrait Date: Tue, 29 Apr 2025 17:16:26 +0200 Subject: [PATCH 1/2] fix: Ensure children are conditionally rendered in Tooltip component --- src/components/primitives/Tooltip.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/primitives/Tooltip.tsx b/src/components/primitives/Tooltip.tsx index 640c5c2cd..ecbb935e8 100644 --- a/src/components/primitives/Tooltip.tsx +++ b/src/components/primitives/Tooltip.tsx @@ -35,7 +35,7 @@ export default function Tooltip({ helper, onOpen, children, icon = true, classNa {/* biome-ignore lint/a11y/useKeyWithClickEvents: */} setOpen(prev => !prev) : undefined}> -
{children}
+ {children &&
{children}
} {!!icon && }
From cfc8a95ad85dd14841ea4a5d6870b4cefa7f9129 Mon Sep 17 00:00:00 2001 From: Hugo Lextrait Date: Wed, 30 Apr 2025 15:58:09 +0200 Subject: [PATCH 2/2] fix: Add padding class to Select component for improved layout --- src/components/extenders/Select.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/extenders/Select.tsx b/src/components/extenders/Select.tsx index 45545d768..2c657413b 100644 --- a/src/components/extenders/Select.tsx +++ b/src/components/extenders/Select.tsx @@ -273,7 +273,7 @@ export default function Select< setValue={v => setValue(v as Value)} value={value as string} defaultValue={multiple ? [] : undefined}> - +
{label}
{loading ? : }