From 4fefd069e0e428a3a38ac4a2711fec5e8d252246 Mon Sep 17 00:00:00 2001 From: Marek Mihok Date: Wed, 21 Feb 2024 16:57:38 +0100 Subject: [PATCH] fix: include spacing in width for inline horizontal components #2251 --- ui/src/form.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/form.tsx b/ui/src/form.tsx index 02b22cf4a7..79a7a19053 100644 --- a/ui/src/form.tsx +++ b/ui/src/form.tsx @@ -215,7 +215,8 @@ const alignItems: 'center', $nest: { '> [data-visible="true"] ~ div': { - marginLeft: 8 + paddingLeft: 8, + boxSizing: 'border-box' } } },