design: fix over padding on mobile

This commit is contained in:
James Xylight committed 2025-07-25 20:59:30 -07:00
1 parent 2d3e711a2f
commit 1f078bd6e1
11 files changed
+15 -15

No files matched your search

@@ -185,7 +185,7 @@
? 'bg-green-400/10 p-1 rounded-lg w-max font-medium'
: page.url.hash.slice(1) ==
node.comment_view.comment.id.toString() &&
'bg-slate-100 dark:bg-zinc-800 p-1 rounded-lg w-max font-medium',
'bg-slate-100 dark:bg-zinc-800 p-1 rounded-lg max-w-max font-medium',
]}
/>
{#if actions}
@@ -52,7 +52,7 @@
community={community ? comment.community : undefined}
title={comment.post.name}
id={comment.post.id}
titleClass="text-sm"
titleClass="text-sm text-slate-500 dark:text-zinc-400"
/>
</div>
<Button
@@ -48,7 +48,7 @@
{initialOffset}
>
{#snippet item(index)}
<div class="-mx-4 sm:-mx-6 px-4 sm:px-6">
<div class="-mx-3 sm:-mx-6 px-3 sm:px-6">
<Comments
bind:nodes={() => [nodes[index]], v => (nodes[index] = v[0])}
{post}