fix: switch back to material

This commit is contained in:
Xylight committed 2024-05-11 12:39:48 -07:00
1 parent 5019bb0f97
commit 5046f9ff6c
1 file changed
+2 -3
+2 -3
View File
@@ -47,7 +47,7 @@
<!-- svelte-ignore a11y-no-static-element-interactions -->
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div
<Material
color={view != 'card' ? 'none' : 'distinct'}
class="relative max-w-full min-w-0 w-full group gap-2
{view != 'card' ? 'bg-transparent !border-0' : 'p-5'} {view == 'compact'
@@ -56,7 +56,6 @@
? 'py-5 list-type'
: 'py-5 flex flex-col'} {$$props.class}"
id={post.post.id.toString()}
on:click={() => postLink(post.post)}
>
<PostMeta
community={hideCommunity ? undefined : post.community}
@@ -119,7 +118,7 @@
</Badge>
</div>
{/if}
</div>
</Material>
<style>
:global(.list-type) {