forked from MapComplete/MapComplete
UI: styling of searchbars
This commit is contained in:
parent
cf3b4145ff
commit
29d1736f93
5 changed files with 79 additions and 47 deletions
|
|
@ -107,13 +107,14 @@
|
|||
</script>
|
||||
|
||||
<div class="normal-background flex justify-between rounded-full pl-2">
|
||||
<form class="flex w-full flex-wrap">
|
||||
<form class="flex w-full flex-wrap items-center ">
|
||||
{#if isRunning}
|
||||
<Loading>{Translations.t.general.search.searching}</Loading>
|
||||
{:else}
|
||||
<input
|
||||
type="search"
|
||||
class="w-full outline-none"
|
||||
style="border: none !important;"
|
||||
class="w-full outline-none border-none mx-2"
|
||||
bind:this={inputElement}
|
||||
on:keypress={(keypr) => {
|
||||
feedback = undefined
|
||||
|
|
@ -131,5 +132,5 @@
|
|||
{/if}
|
||||
{/if}
|
||||
</form>
|
||||
<SearchIcon aria-hidden="true" class="h-6 w-6 self-end" on:click={performSearch} />
|
||||
<SearchIcon aria-hidden="true" class="h-6 w-6 mx-2 self-center" on:click={performSearch} />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue