design: make modlog not look like buns in table view

This commit is contained in:
Xylight committed 2025-09-19 15:58:22 -07:00
1 parent f8ee79666b
commit a3c417f9cb
12 files changed
+193 -159

No files matched your search

@@ -131,13 +131,22 @@
<div
class={[
'absolute -inset-0.5 right-1 group-hover:right-0 group-hover:-inset-1.5 opacity-0 group-hover:opacity-100 transition-all',
'bg-slate-100 dark:bg-zinc-900 -z-10 rounded-full',
'bg-slate-100 dark:bg-zinc-900 -z-10 rounded-full inline-flex items-center justify-end',
]}
>
{#if node.comment_view.counts.child_count > 0}
{@const children = node.comment_view.counts.child_count}
<div
aria-label={$t('aria.comments.children', { childCount: children })}
class="font-medium"
>
{children}
</div>
{/if}
<div
class={[
!open && 'rotate-90',
'transition-all duration-500 ease-out ml-auto my-auto h-full w-8 grid place-items-center',
'transition-all duration-500 ease-out my-auto h-full w-8 grid place-items-center',
]}
>
<Icon src={open ? Minus : Plus} size="16" micro />
+3
View File
@@ -943,6 +943,9 @@
"openImage": "Open image: {{default}}",
"openLink": "Open link: {{default}}",
"openPost": "Open post: {{default}}"
},
"comments": {
"children": "{{childCount}} children"
}
},
"stats": {
+13 -5
View File
@@ -79,6 +79,11 @@ export interface FeedTypes {
posts: GetPost
comments: GetComments
preload?: PostView
thread: {
showContext?: boolean
singleThread?: boolean
focus?: string
}
},
{
post: PostView
@@ -88,12 +93,15 @@ export interface FeedTypes {
cross_posts: PostView[]
post_view: PostView
}>
thread: {
showContext?: boolean
singleThread?: boolean
focus?: string
params: {
posts: GetPost
comments: GetComments
thread: {
showContext?: boolean
singleThread?: boolean
focus?: string
}
}
params: { posts: GetPost; comments: GetComments }
},
]
'/f/[id]': [
+1 -1
View File
@@ -95,7 +95,7 @@
submit = false,
color = 'secondary',
size = 'md',
rounding = size == 'lg' ? 'xl' : 'lg',
rounding = 'xl',
alignment = 'center',
shadow = color != 'tertiary' ? 'none' : 'none',
disabled,