From 5342ecd00b300f184d8661cc055f4c7fef225918 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 12 Aug 2021 10:37:07 +0100 Subject: [PATCH] Add gap between form components when using labels positioned above fields --- packages/standard-components/src/forms/FieldGroup.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/standard-components/src/forms/FieldGroup.svelte b/packages/standard-components/src/forms/FieldGroup.svelte index 561572fab8..9a3cf5c506 100644 --- a/packages/standard-components/src/forms/FieldGroup.svelte +++ b/packages/standard-components/src/forms/FieldGroup.svelte @@ -25,4 +25,7 @@ .spectrum-Form { width: 100%; } + .spectrum-Form--labelsAbove { + gap: var(--spectrum-global-dimension-size-100); + }