misc: change 'type' icon
This commit is contained in:
1 parent
df4ed6b9c3
commit
e8ca471f41
4 files changed
+12
-5
No files matched your search
@@ -22,7 +22,12 @@
|
||||
PostView,
|
||||
} from 'lemmy-js-client'
|
||||
import { Button, Select, Spinner, TextInput } from 'mono-svelte'
|
||||
import { Bars3BottomRight, Icon, MagnifyingGlass } from 'svelte-hero-icons'
|
||||
import {
|
||||
AdjustmentsHorizontal,
|
||||
Bars3BottomRight,
|
||||
Icon,
|
||||
MagnifyingGlass,
|
||||
} from 'svelte-hero-icons'
|
||||
import { expoOut } from 'svelte/easing'
|
||||
import { slide } from 'svelte/transition'
|
||||
|
||||
@@ -42,12 +47,11 @@
|
||||
<h1 class="font-bold text-2xl">Search</h1>
|
||||
<div class="flex flex-row flex-wrap sm:justify-between items-center gap-4 mt-4">
|
||||
<Select
|
||||
class="w-48"
|
||||
bind:value={data.type}
|
||||
on:change={() => searchParam($page.url, 'type', data.type ?? 'All', 'page')}
|
||||
>
|
||||
<span slot="label" class="flex items-center gap-1">
|
||||
<Icon src={Bars3BottomRight} mini size="15" />
|
||||
<Icon src={AdjustmentsHorizontal} mini size="15" />
|
||||
Type
|
||||
</span>
|
||||
<option value="All">All</option>
|
||||
|
||||
Reference in new issue
Block a user