fix: switch back to material
This commit is contained in:
1 parent
5019bb0f97
commit
5046f9ff6c
1 file changed
+2
-3
@@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
||||||
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||||
<div
|
<Material
|
||||||
color={view != 'card' ? 'none' : 'distinct'}
|
color={view != 'card' ? 'none' : 'distinct'}
|
||||||
class="relative max-w-full min-w-0 w-full group gap-2
|
class="relative max-w-full min-w-0 w-full group gap-2
|
||||||
{view != 'card' ? 'bg-transparent !border-0' : 'p-5'} {view == 'compact'
|
{view != 'card' ? 'bg-transparent !border-0' : 'p-5'} {view == 'compact'
|
||||||
@@ -56,7 +56,6 @@
|
|||||||
? 'py-5 list-type'
|
? 'py-5 list-type'
|
||||||
: 'py-5 flex flex-col'} {$$props.class}"
|
: 'py-5 flex flex-col'} {$$props.class}"
|
||||||
id={post.post.id.toString()}
|
id={post.post.id.toString()}
|
||||||
on:click={() => postLink(post.post)}
|
|
||||||
>
|
>
|
||||||
<PostMeta
|
<PostMeta
|
||||||
community={hideCommunity ? undefined : post.community}
|
community={hideCommunity ? undefined : post.community}
|
||||||
@@ -119,7 +118,7 @@
|
|||||||
</Badge>
|
</Badge>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</Material>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
:global(.list-type) {
|
:global(.list-type) {
|
||||||
|
|||||||
Reference in new issue
Block a user