Skip to content

Commit c592d03

Browse files
committed
Adjust icons to filter reset buttons
1 parent 229f192 commit c592d03

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

web/src/lib/components/diff-filtering/DiffFilterDialog.svelte

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,23 +135,23 @@
135135
</div>
136136
</section>
137137

138-
<section class="m-4">
138+
<section class="m-4 flex flex-wrap gap-1">
139139
<Button.Root
140-
class="rounded-md btn-fill-danger px-2 py-1"
140+
class="flex items-center gap-2 rounded-md btn-fill-danger px-2 py-1"
141141
onclick={() => {
142142
instance.setDefaults();
143143
}}
144144
>
145-
Clear Filters
145+
<span class="iconify shrink-0 octicon--trash-16" aria-hidden="true"></span>Clear Filters
146146
</Button.Root>
147147
{#if mode === "session"}
148148
<Button.Root
149-
class="rounded-md btn-fill-danger px-2 py-1"
149+
class="flex items-center gap-2 rounded-md btn-fill-danger px-2 py-1"
150150
onclick={() => {
151151
instance.setFrom(globalOptions.defaultFilters);
152152
}}
153153
>
154-
Reset Filters To Defaults
154+
<span class="iconify shrink-0 octicon--undo-16" aria-hidden="true"></span>Reset Filters To Defaults
155155
</Button.Root>
156156
{/if}
157157
</section>

0 commit comments

Comments
 (0)