misc: change 'type' icon
This commit is contained in:
1 parent
df4ed6b9c3
commit
e8ca471f41
4 files changed
+12
-5
No files matched your search
@@ -1,6 +1,7 @@
|
||||
<script lang="ts">
|
||||
import InboxItem from './InboxItem.svelte'
|
||||
import {
|
||||
AdjustmentsHorizontal,
|
||||
Bars3BottomRight,
|
||||
Check,
|
||||
Funnel,
|
||||
@@ -87,7 +88,7 @@
|
||||
on:change={() => searchParam($page.url, 'type', data.type ?? 'all', 'page')}
|
||||
>
|
||||
<span slot="label" class="flex items-center gap-1">
|
||||
<Icon src={Bars3BottomRight} size="15" mini />
|
||||
<Icon src={AdjustmentsHorizontal} size="15" mini />
|
||||
Type
|
||||
</span>
|
||||
<option value="all">All</option>
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
}}
|
||||
/>
|
||||
{:else}
|
||||
User data is missing.
|
||||
<pre>
|
||||
{JSON.stringify(data)}
|
||||
</pre>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
import FormattedNumber from '$lib/components/util/FormattedNumber.svelte'
|
||||
import RelativeDate from '$lib/components/util/RelativeDate.svelte'
|
||||
import {
|
||||
AdjustmentsHorizontal,
|
||||
Bars3BottomRight,
|
||||
Calendar,
|
||||
ChartBar,
|
||||
@@ -158,7 +159,7 @@
|
||||
on:change={() => searchParam($page.url, 'type', data.type, 'page')}
|
||||
>
|
||||
<span slot="label" class="flex items-center gap-1">
|
||||
<Icon src={Bars3BottomRight} size="15" mini />
|
||||
<Icon src={AdjustmentsHorizontal} size="15" mini />
|
||||
Type
|
||||
</span>
|
||||
<option value="all">All</option>
|
||||
|
||||
Reference in new issue
Block a user