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/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/check_box_group/with_caption/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/check_box_group/with_caption/default.png index 02c19c38d0..cd73e19fad 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/check_box_group/with_caption/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/check_box_group/with_caption/default.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/check_box_group/with_caption/focused.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/check_box_group/with_caption/focused.png index 5c24d1ea6e..dea82746cc 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/check_box_group/with_caption/focused.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/check_box_group/with_caption/focused.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/default/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/default/default.png index 018c409c84..1a5514286d 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/default/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/default/default.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/default/focused.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/default/focused.png index d6920bdbbb..97c9c03cc1 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/default/focused.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/default/focused.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/invalid/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/invalid/default.png index dfab5fea52..29e9e9e46c 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/invalid/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/invalid/default.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/invalid/focused.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/invalid/focused.png index 1d8463fa6d..a8b467d9a1 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/invalid/focused.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/invalid/focused.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/with_caption/default.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/with_caption/default.png index 13762bdc50..e1e539f433 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/with_caption/default.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/with_caption/default.png differ diff --git a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/with_caption/focused.png b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/with_caption/focused.png index 5d22b31ce0..10c459acb4 100644 Binary files a/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/with_caption/focused.png and b/.playwright/screenshots/snapshots.test.ts-snapshots/primer/alpha/radio_button_group/with_caption/focused.png differ diff --git a/app/components/primer/alpha/text_field.pcss b/app/components/primer/alpha/text_field.pcss index 774d8b2ee1..7a000dfafb 100644 --- a/app/components/primer/alpha/text_field.pcss +++ b/app/components/primer/alpha/text_field.pcss @@ -66,7 +66,7 @@ .FormControl-spacingWrapper { display: flex; flex-direction: column; - row-gap: 0.5rem; + row-gap: var(--stack-gap-normal); } .FormControl-horizontalGroup {