fix: commentitem pointleslly using material
This commit is contained in:
3 files changed
+7
-6
No files matched your search
@@ -2,7 +2,7 @@
|
||||
import type { CommentView } from '$lib/api/types'
|
||||
import { t } from '$lib/app/i18n'
|
||||
import { publishedToDate } from '$lib/ui/util/date'
|
||||
import { Button, Material } from 'mono-svelte'
|
||||
import { Button } from 'mono-svelte'
|
||||
import { ArrowUturnUp, Icon } from 'svelte-hero-icons/dist'
|
||||
import type { ClassValue } from 'svelte/elements'
|
||||
import { PostMeta } from '../post'
|
||||
@@ -28,7 +28,7 @@
|
||||
}: Props = $props()
|
||||
</script>
|
||||
|
||||
<Material
|
||||
<div
|
||||
class={['flex flex-col flex-1 rounded-none list-none', clazz]}
|
||||
color="none"
|
||||
padding="none"
|
||||
@@ -76,4 +76,4 @@
|
||||
{...rest}
|
||||
class={commentClass}
|
||||
/>
|
||||
</Material>
|
||||
</div>
|
||||
@@ -63,7 +63,8 @@
|
||||
transition: background-color 0.1s;
|
||||
background-color: var(--color-white);
|
||||
container-type: inline-size;
|
||||
border: 1px solid var(--color-slate-100);
|
||||
border: 1px solid
|
||||
color-mix(in oklab, var(--color-slate-50), var(--color-slate-100));
|
||||
|
||||
border-radius: var(--radius-md) var(--radius-md);
|
||||
|
||||
|
||||
@@ -43,10 +43,10 @@
|
||||
>
|
||||
<div class="md:hidden flex justify-between" dir="ltr">
|
||||
<InvertedCorner
|
||||
class="w-8 h-8 text-slate-100 dark:text-zinc-950 rotate-270"
|
||||
class="w-8 h-8 text-slate-50 dark:text-zinc-950 rotate-270"
|
||||
/>
|
||||
<InvertedCorner
|
||||
class="w-8 h-8 text-slate-100 dark:text-zinc-950 rotate-180"
|
||||
class="w-8 h-8 text-slate-50 dark:text-zinc-950 rotate-180"
|
||||
/>
|
||||
</div>
|
||||
{@render navbar?.({
|
||||
|
||||
Reference in new issue
Block a user