Skip to content

Commit 834e266

Browse files
committed
minor adjustments
1 parent fd7c290 commit 834e266

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/src/lib/components/diff/ImageDiff.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,11 @@
172172
<AddedOrRemovedImageLabel mode="add" dims={dims.b} />
173173
</div>
174174
<div class="mt-4 flex w-full max-w-[280px] items-center rounded-lg bg-neutral p-2.5 shadow-sm">
175-
<Slider.Root type="single" bind:value={fadePercent} class="relative flex w-full touch-none items-center select-none">
175+
<Slider.Root type="single" thumbPositioning="exact" bind:value={fadePercent} class="relative flex w-full touch-none items-center select-none">
176176
<span class="relative h-0.5 w-full grow cursor-pointer overflow-hidden rounded-full bg-em-disabled">
177177
<Slider.Range class="absolute h-full bg-primary" />
178178
</span>
179-
<Slider.Thumb index={0} class="block size-4 cursor-pointer rounded-full border bg-neutral shadow-sm transition-colors" />
179+
<Slider.Thumb index={0} class="block size-4 cursor-pointer rounded-full border bg-neutral shadow-sm transition-colors data-active:scale-[0.95]" />
180180
</Slider.Root>
181181
</div>
182182
{/snippet}

web/src/routes/diff/LoadDiffDialog.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@
421421
<Button.Root onclick={compareDirs} class="rounded-md btn-primary px-2 py-1">Go</Button.Root>
422422
<InfoPopup>
423423
Compares the entire contents of the directories, including subdirectories. Does not attempt to detect renames. When possible,
424-
preparing a unified diff (<code class="rounded-sm bg-neutral-2 px-1 py-0.5">.patch</code> file) using Git or another tool, and loading
424+
preparing a unified diff (<code class="rounded-sm bg-neutral-2 px-1 py-0.5">.patch</code> file) using Git or another tool and loading
425425
it with the above button should be preferred.
426426
</InfoPopup>
427427
</div>

0 commit comments

Comments
 (0)