design: update comment sizing
This commit is contained in:
9 files changed
+23
-31
No files matched your search
@@ -208,8 +208,7 @@
|
||||
source={node.comment_view.comment.content}
|
||||
noStyle
|
||||
class={[
|
||||
'text-base text-slate-700 dark:text-zinc-300 *:leading-[1.6] break-words space-y-3',
|
||||
|
||||
'text-[14px] sm:text-base text-slate-700 dark:text-zinc-300 *:leading-[1.6] break-words space-y-3',
|
||||
node.comment_view.comment.distinguished
|
||||
? 'bg-green-400/10 p-2 rounded-xl max-w-max font-medium'
|
||||
: page.url.hash.slice(1) ==
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
{@render passedTarget(acting)}
|
||||
{/snippet}
|
||||
{#if (profile.current?.user && amMod(profile.current.user, item.community)) || (profile.current?.user && isAdmin(profile.current.user))}
|
||||
<MenuDivider>
|
||||
<MenuDivider showLabel>
|
||||
{#if !item.community.local && !amMod(profile.current.user, item.community)}
|
||||
{$t('moderation.labelInstanceOnly')}
|
||||
{:else}
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
}: Props = $props()
|
||||
</script>
|
||||
|
||||
<!--
|
||||
<!--
|
||||
@component
|
||||
This component will build two different things: a post's meta block and the title.
|
||||
-->
|
||||
@@ -337,7 +337,7 @@
|
||||
class={[
|
||||
'inline max-sm:mt-0!',
|
||||
'hover:underline hover:text-primary-900 dark:hover:text-primary-100 transition-colors',
|
||||
'font-medium',
|
||||
'font-medium text-balance max-w-xl',
|
||||
titleClass,
|
||||
settings.markReadPosts && read && 'text-slate-600 dark:text-zinc-400',
|
||||
view == 'compact' ? 'text-base' : 'text-lg',
|
||||
|
||||
Reference in new issue
Block a user