misc: I haven't eaten in 16 hours brb gonna get some food
This commit is contained in:
1 parent
a363fe3baf
commit
eb006ed982
21 files changed
+157
-89
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { createEventDispatcher } from 'svelte'
|
||||
import { Color } from '$lib/ui/colors.js'
|
||||
import Loading from '$lib/components/ui/Loading.svelte'
|
||||
import Loading from '$lib/components/ui/loader/Loading.svelte'
|
||||
|
||||
export let color: Color = Color.secondary
|
||||
export let loading = false
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
optionNames.set(null, 'None')
|
||||
</script>
|
||||
|
||||
<Menu rtl={false} let:toggleOpen>
|
||||
<Menu let:toggleOpen>
|
||||
<button
|
||||
class="flex flex-row gap-2 items-center px-3 py-1.5 w-full text-sm
|
||||
transition-all max-w-64 rounded-md bg-slate-100 border border-slate-200
|
||||
@@ -25,6 +25,7 @@
|
||||
>
|
||||
{optionNames.get(selected) || selected}
|
||||
</button>
|
||||
<li class="text-xs opacity-80 my-1 py-1 mx-4">Communities</li>
|
||||
{#each options as option}
|
||||
<MenuButton on:click={() => (selected = option)}>
|
||||
{optionNames.get(option) || option}
|
||||
|
||||
Reference in new issue
Block a user