impr: use modals for replies, close #466

This commit is contained in:
James Xylight committed 2025-06-10 11:59:00 -07:00
1 parent 8232903bbe
commit 7e2590585d
7 files changed
+112 -140

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@
<!-- svelte-ignore a11y_no_noninteractive_tabindex -->
<div
class={[
'post relative max-w-full min-w-0 w-full cursor-pointer outline-hidden group z-10 rounded-3xl',
'post relative max-w-full min-w-0 w-full cursor-pointer outline-hidden group',
settings.leftAlign && 'left-align',
view == 'compact' && 'py-3 list-type compact',
view == 'cozy' && 'py-5 flex flex-col gap-2',
+12 -12
View File
@@ -73,15 +73,15 @@
import Material from 'mono-svelte/materials/Material.svelte'
interface Props {
community?: Community | undefined
community?: Community
showCommunity?: boolean
subscribed?: SubscribedType | undefined
user?: Person | undefined
published?: Date | undefined
title?: string | undefined
id?: number | undefined
subscribed?: SubscribedType
user?: Person
published?: Date
title?: string
id?: number
read?: boolean
edited?: string | undefined
edited?: string
view?: View
// Badges
badges?: {
@@ -104,12 +104,12 @@
community = $bindable(undefined),
showCommunity = true,
subscribed = $bindable(undefined),
user = undefined,
published = undefined,
title = undefined,
id = undefined,
user,
published,
title,
id,
read = false,
edited = undefined,
edited,
view = 'cozy',
badges = {
nsfw: false,