Skip to content

Commit dc6fd6e

Browse files
committed
SlugPreview spacing fix
1 parent 56f653a commit dc6fd6e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

client/src/features/groupsV2/new/GroupNew.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ function GroupV2CreationDetails() {
174174
>
175175
<FormGroup className="d-inline" disabled={result.isLoading}>
176176
<div className={cx("d-flex", "flex-column", "gap-3")}>
177-
<div className="mb-1">
177+
{/* No margin bottom because the SlugPreviewFormField is larger */}
178+
<div>
178179
<NameFormField
179180
control={control}
180181
entityName="group"

client/src/features/projectsV2/new/ProjectV2New.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ function ProjectV2CreationDetails() {
200200
name="name"
201201
/>
202202

203-
<div className="mb-1">
203+
{/* No margin bottom because the SlugPreviewFormField is larger */}
204+
<div>
204205
<ProjectNamespaceFormField
205206
control={control}
206207
ensureNamespace={defaultNamespace}

0 commit comments

Comments
 (0)