fix: broken 'all comments' links
This commit is contained in:
7 files changed
+11
-10
No files matched your search
@@ -21,7 +21,7 @@
|
||||
<svelte:element
|
||||
this={href ? 'a' : 'button'}
|
||||
class={[
|
||||
'px-2.5 py-1 rounded-xl text-sm font-medium transition-colors duration-75 relative cursor-pointer border',
|
||||
'px-2.5 py-1 rounded-xl text-sm font-medium transition-colors duration-75 relative cursor-pointer border shadow-xs',
|
||||
selected
|
||||
? 'border-transparent bg-primary-900 dark:bg-primary-100 text-slate-50 dark:text-zinc-900 hover:brightness-90 active:brightness-75'
|
||||
: ' dark:bg-zinc-900/50 bg-white border-slate-200 dark:border-zinc-800 hover:bg-slate-100 hover:dark:bg-zinc-800 active:bg-slate-200 active:dark:bg-zinc-900',
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<nav
|
||||
class={[
|
||||
'flex flex-row items-center justify-center sm:justify-start my-2 sm:mt-0 flex-wrap z-20',
|
||||
style == 'header' ? 'p-1 gap-x-8 gap-y-4' : 'gap-3',
|
||||
style == 'header' ? 'p-1 gap-x-8 gap-y-4' : 'gap-2',
|
||||
]}
|
||||
>
|
||||
{#each routes as route (route.href)}
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
{#if customIcon}
|
||||
{@render customIcon({ selected })}
|
||||
{:else if icon}
|
||||
<Icon src={icon} mini size="18" />
|
||||
<Icon src={icon} solid size="18" />
|
||||
{/if}
|
||||
{/snippet}
|
||||
{label}
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
placeholder = undefined,
|
||||
label = undefined,
|
||||
size = 'md',
|
||||
shadow = 'sm',
|
||||
shadow = 'none',
|
||||
id = generateID(),
|
||||
class: clazz = '',
|
||||
baseClass = '',
|
||||
|
||||
Reference in new issue
Block a user