Skip to content

Commit 18fff2e

Browse files
committed
Fix double border on last blacklist entry
1 parent 3329dc8 commit 18fff2e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

web/src/routes/LoadDiffDialog.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,10 @@
356356
</Button.Root>
357357
</div>
358358
<ul class="m-2 max-h-96 overflow-y-auto rounded-md border">
359-
{#each dirBlacklist as entry (entry)}
360-
<li class="flex">
361-
<span class="grow border-b px-2 py-1">{entry}</span>
362-
<div class="border-b p-1 ps-0">
359+
{#each dirBlacklist as entry, index (entry)}
360+
<li class="flex" class:border-b={index !== dirBlacklist.size - 1}>
361+
<span class="grow px-2 py-1">{entry}</span>
362+
<div class="p-1 ps-0">
363363
<Button.Root
364364
title="Delete blacklist entry"
365365
class="flex rounded-md btn-danger p-1"

0 commit comments

Comments
 (0)