From 1f078bd6e1f4325303b64e1df299d293dbfdcdfc Mon Sep 17 00:00:00 2001 From: James Xylight Date: Fri, 25 Jul 2025 20:59:30 -0700 Subject: [PATCH] design: fix over padding on mobile --- src/lib/components/lemmy/comment/Comment.svelte | 2 +- src/lib/components/lemmy/comment/CommentItem.svelte | 2 +- .../components/lemmy/comment/CommentListVirtualizer.svelte | 2 +- src/lib/components/lemmy/post/Post.svelte | 4 ++-- src/lib/components/lemmy/post/feed/VirtualFeed.svelte | 4 ++-- src/lib/components/lemmy/post/link/PostLink.svelte | 4 ++-- src/lib/components/ui/layout/CommonList.svelte | 2 +- src/lib/components/ui/layout/pages/Header.svelte | 4 ++-- src/routes/+layout.svelte | 2 +- src/routes/inbox/messages/+page.svelte | 2 +- .../post/[instance]/[id=integer]/CommentProvider.svelte | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/lib/components/lemmy/comment/Comment.svelte b/src/lib/components/lemmy/comment/Comment.svelte index 70f51547..01225339 100644 --- a/src/lib/components/lemmy/comment/Comment.svelte +++ b/src/lib/components/lemmy/comment/Comment.svelte @@ -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} diff --git a/src/lib/components/lemmy/comment/CommentItem.svelte b/src/lib/components/lemmy/comment/CommentItem.svelte index 5c62448f..43d7dc91 100644 --- a/src/lib/components/lemmy/comment/CommentItem.svelte +++ b/src/lib/components/lemmy/comment/CommentItem.svelte @@ -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" />