Skip to content

Commit 78b576b

Browse files
committed
Adjust gaps around submit buttons on comparison forms
1 parent 0993703 commit 78b576b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

web/src/routes/LoadDiffDialog.svelte

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@
465465
From Patch File
466466
</h3>
467467
<MultimodalFileInput bind:state={patchFile} required fileTypeOverride={false} label="Patch File" />
468-
<Button.Root type="submit" class="mt-1 rounded-md btn-primary px-2 py-1">Go</Button.Root>
468+
<Button.Root type="submit" class="mt-2 rounded-md btn-primary px-2 py-1">Go</Button.Root>
469469
</form>
470470

471471
<Separator.Root class="h-px w-full bg-neutral-2" />
@@ -481,12 +481,14 @@
481481
<span class="iconify size-6 shrink-0 octicon--file-24"></span>
482482
From Files
483483
</h3>
484-
<div class="flex flex-wrap items-center gap-1">
484+
<div class="mb-2 flex flex-wrap items-center gap-1">
485485
<MultimodalFileInput bind:state={fileA} required label="File A" />
486486
<div class="flex w-full">
487487
<span class="iconify size-4 shrink-0 octicon--arrow-down-16"></span>
488488
</div>
489489
<MultimodalFileInput bind:state={fileB} required label="File B" />
490+
</div>
491+
<div class="flex items-center gap-1">
490492
<Button.Root type="submit" class="rounded-md btn-primary px-2 py-1">Go</Button.Root>
491493
<Button.Root
492494
title="Swap File A and File B"

0 commit comments

Comments
 (0)