use system search bar cancel instead of dedicated button

This commit is contained in:
Phillip Thelen 2024-11-08 12:20:56 +01:00
parent 15d5084aaf
commit 9acd2963f7

View File

@ -46,20 +46,11 @@
<div class="search-box">
<div class="search-input-wrapper">
<input
type="text"
type="search"
placeholder="Search processes"
bind:value={searchTerm}
class="search-input"
/>
{#if searchTerm}
<button
class="btn-clear"
on:click={() => (searchTerm = "")}
title="Clear search"
>
Clear
</button>
{/if}
</div>
</div>
<div class="toolbar-group">