misc: use divide-y
This commit is contained in:
1 parent
556acf1b30
commit
060040c06e
2 files changed
+6
-8
No files matched your search
@@ -14,10 +14,7 @@
|
|||||||
export let community: CommunityView
|
export let community: CommunityView
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div
|
<div class="py-4 flex flex-col gap-1 text-sm max-w-full">
|
||||||
class="py-4 border-b border-black/20 dark:border-white/20
|
|
||||||
flex flex-col gap-1 text-sm max-w-full"
|
|
||||||
>
|
|
||||||
<div class="flex flex-row items-center">
|
<div class="flex flex-row items-center">
|
||||||
<span
|
<span
|
||||||
class="break-words max-w-full w-max text-base font-bold text-sky-400 hover:underline"
|
class="break-words max-w-full w-max text-base font-bold text-sky-400 hover:underline"
|
||||||
|
|||||||
@@ -35,7 +35,8 @@
|
|||||||
class="text-blue-500 hover:underline"
|
class="text-blue-500 hover:underline"
|
||||||
>
|
>
|
||||||
search
|
search
|
||||||
</a> page, and search with this syntax:
|
</a>
|
||||||
|
page, and search with this syntax:
|
||||||
<code>!community@instance.com</code>
|
<code>!community@instance.com</code>
|
||||||
</p>
|
</p>
|
||||||
<div class="flex flex-col sm:flex-row gap-4 mt-4">
|
<div class="flex flex-col sm:flex-row gap-4 mt-4">
|
||||||
@@ -69,7 +70,7 @@
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="flex flex-col">
|
<ul class="flex flex-col divide-y dark:divide-zinc-800">
|
||||||
{#if data.communities.length == 0}
|
{#if data.communities.length == 0}
|
||||||
<div
|
<div
|
||||||
class="text-slate-600 dark:text-zinc-400 flex flex-col justify-center items-center py-8"
|
class="text-slate-600 dark:text-zinc-400 flex flex-col justify-center items-center py-8"
|
||||||
@@ -82,9 +83,9 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#each data.communities as community}
|
{#each data.communities as community}
|
||||||
<li>
|
<li class="py-3">
|
||||||
<div
|
<div
|
||||||
class="py-4 border-b border-black/20 dark:border-white/20
|
class="
|
||||||
flex flex-col gap-1 text-sm max-w-full"
|
flex flex-col gap-1 text-sm max-w-full"
|
||||||
>
|
>
|
||||||
<div class="flex flex-row items-center">
|
<div class="flex flex-row items-center">
|
||||||
|
|||||||
Reference in new issue
Block a user