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">
|
<script lang="ts">
|
||||||
import InboxItem from './InboxItem.svelte'
|
import InboxItem from './InboxItem.svelte'
|
||||||
import {
|
import {
|
||||||
|
AdjustmentsHorizontal,
|
||||||
Bars3BottomRight,
|
Bars3BottomRight,
|
||||||
Check,
|
Check,
|
||||||
Funnel,
|
Funnel,
|
||||||
@@ -87,7 +88,7 @@
|
|||||||
on:change={() => searchParam($page.url, 'type', data.type ?? 'all', 'page')}
|
on:change={() => searchParam($page.url, 'type', data.type ?? 'all', 'page')}
|
||||||
>
|
>
|
||||||
<span slot="label" class="flex items-center gap-1">
|
<span slot="label" class="flex items-center gap-1">
|
||||||
<Icon src={Bars3BottomRight} size="15" mini />
|
<Icon src={AdjustmentsHorizontal} size="15" mini />
|
||||||
Type
|
Type
|
||||||
</span>
|
</span>
|
||||||
<option value="all">All</option>
|
<option value="all">All</option>
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
{:else}
|
{:else}
|
||||||
|
User data is missing.
|
||||||
<pre>
|
<pre>
|
||||||
{JSON.stringify(data)}
|
{JSON.stringify(data)}
|
||||||
</pre>
|
</pre>
|
||||||
|
|||||||
@@ -22,7 +22,12 @@
|
|||||||
PostView,
|
PostView,
|
||||||
} from 'lemmy-js-client'
|
} from 'lemmy-js-client'
|
||||||
import { Button, Select, Spinner, TextInput } from 'mono-svelte'
|
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 { expoOut } from 'svelte/easing'
|
||||||
import { slide } from 'svelte/transition'
|
import { slide } from 'svelte/transition'
|
||||||
|
|
||||||
@@ -42,12 +47,11 @@
|
|||||||
<h1 class="font-bold text-2xl">Search</h1>
|
<h1 class="font-bold text-2xl">Search</h1>
|
||||||
<div class="flex flex-row flex-wrap sm:justify-between items-center gap-4 mt-4">
|
<div class="flex flex-row flex-wrap sm:justify-between items-center gap-4 mt-4">
|
||||||
<Select
|
<Select
|
||||||
class="w-48"
|
|
||||||
bind:value={data.type}
|
bind:value={data.type}
|
||||||
on:change={() => searchParam($page.url, 'type', data.type ?? 'All', 'page')}
|
on:change={() => searchParam($page.url, 'type', data.type ?? 'All', 'page')}
|
||||||
>
|
>
|
||||||
<span slot="label" class="flex items-center gap-1">
|
<span slot="label" class="flex items-center gap-1">
|
||||||
<Icon src={Bars3BottomRight} mini size="15" />
|
<Icon src={AdjustmentsHorizontal} mini size="15" />
|
||||||
Type
|
Type
|
||||||
</span>
|
</span>
|
||||||
<option value="All">All</option>
|
<option value="All">All</option>
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
import FormattedNumber from '$lib/components/util/FormattedNumber.svelte'
|
import FormattedNumber from '$lib/components/util/FormattedNumber.svelte'
|
||||||
import RelativeDate from '$lib/components/util/RelativeDate.svelte'
|
import RelativeDate from '$lib/components/util/RelativeDate.svelte'
|
||||||
import {
|
import {
|
||||||
|
AdjustmentsHorizontal,
|
||||||
Bars3BottomRight,
|
Bars3BottomRight,
|
||||||
Calendar,
|
Calendar,
|
||||||
ChartBar,
|
ChartBar,
|
||||||
@@ -158,7 +159,7 @@
|
|||||||
on:change={() => searchParam($page.url, 'type', data.type, 'page')}
|
on:change={() => searchParam($page.url, 'type', data.type, 'page')}
|
||||||
>
|
>
|
||||||
<span slot="label" class="flex items-center gap-1">
|
<span slot="label" class="flex items-center gap-1">
|
||||||
<Icon src={Bars3BottomRight} size="15" mini />
|
<Icon src={AdjustmentsHorizontal} size="15" mini />
|
||||||
Type
|
Type
|
||||||
</span>
|
</span>
|
||||||
<option value="all">All</option>
|
<option value="all">All</option>
|
||||||
|
|||||||
Reference in new issue
Block a user