From 1b98497d8f3b2b4f9759f4acdf3e992c358c993d Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Fri, 13 Sep 2024 09:06:33 +0200 Subject: [PATCH] Increase the default space between form elements --- .changeset/tricky-foxes-train.md | 5 +++++ app/components/primer/alpha/text_field.pcss | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/tricky-foxes-train.md diff --git a/.changeset/tricky-foxes-train.md b/.changeset/tricky-foxes-train.md new file mode 100644 index 0000000000..98daa17ae8 --- /dev/null +++ b/.changeset/tricky-foxes-train.md @@ -0,0 +1,5 @@ +--- +'@primer/view-components': patch +--- + +Increase space between form elements diff --git a/app/components/primer/alpha/text_field.pcss b/app/components/primer/alpha/text_field.pcss index 3f01594487..31a97d142f 100644 --- a/app/components/primer/alpha/text_field.pcss +++ b/app/components/primer/alpha/text_field.pcss @@ -60,7 +60,7 @@ .FormControl-spacingWrapper { display: flex; flex-direction: column; - row-gap: 0.5rem; + row-gap: var(--stack-gap-normal); } .FormControl-horizontalGroup {