design: update comment sizing

This commit is contained in:
James Xylight committed 2025-08-22 16:27:21 -07:00
1 parent 0805313852
commit 7799ec3e62
9 files changed
+23 -31

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@
</script>
<div
class="text-slate-700 dark:text-zinc-300 flex flex-col w-max mx-auto items-center gap-4 {clazz}"
class="text-slate-500 dark:text-zinc-500 contrast-more:text-slate-700 contrast-more:dark:text-zinc-300 flex flex-col w-max mx-auto items-center gap-4 {clazz}"
>
<div class="flex flex-col gap-2 items-center max-w-sm">
{#if icon}
+1 -1
View File
@@ -46,7 +46,7 @@
>
{@render navbar?.({
class: [
'bg-slate-100/50 dark:bg-zinc-950/90 border-slate-200/50 dark:border-zinc-900',
'bg-slate-100/70 dark:bg-zinc-950/90 border-slate-200/50 dark:border-zinc-900',
'pointer-events-auto backdrop-blur-xl border lg:border-t-0 lg:border-x-0',
'rounded-full lg:rounded-none',
],
@@ -40,7 +40,7 @@
'hover:text-slate-900 dark:hover:text-zinc-50 transition-colors',
isSelected
? 'text-primary-900 dark:text-primary-100 max-lg:bg-slate-100 max-lg:dark:bg-zinc-800'
: 'text-slate-600 dark:text-zinc-400',
: 'text-slate-500 dark:text-zinc-400',
clazz,
]}
shadow="none"
+4 -3
View File
@@ -53,7 +53,6 @@
</Modal>
{/if}
<MenuDivider>{$t('nav.menu.label')}</MenuDivider>
{#if profile.current?.jwt}
<MenuButton href="/profile">
{#snippet prefix()}
@@ -146,7 +145,6 @@
Debug
</MenuButton>
{/if}
<MenuDivider />
<li class="flex flex-col px-2 py-1 mx-auto my-1 text-xs w-full">
<div class="flex flex-row gap-2 w-full items-center">
<div class="flex-1">
@@ -161,7 +159,10 @@
</button>
</div>
<Button
onclick={() => (showInstance = !showInstance)}
onclick={e => {
e.stopPropagation()
showInstance = !showInstance
}}
color="tertiary"
title={$t('nav.menu.instance')}
size="square-md"