migrate: run bunx migrate
This commit is contained in:
115 files changed
+329
-326
No files matched your search
@@ -158,7 +158,7 @@
|
||||
src={open ? Minus : Plus}
|
||||
size="16"
|
||||
micro
|
||||
class="transition-transform duration-[400ms] ease-out {open
|
||||
class="transition-transform duration-400 ease-out {open
|
||||
? ''
|
||||
: 'rotate-90'} text-primary-900 dark:text-primary-100"
|
||||
/>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</script>
|
||||
|
||||
<Material
|
||||
class="flex flex-col flex-1 !bg-transparent !border-0 rounded-none
|
||||
class="flex flex-col flex-1 bg-transparent! border-0! rounded-none
|
||||
{view == 'compact' ? 'py-4' : 'py-5'} {clazz}"
|
||||
color="distinct"
|
||||
padding="none"
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
class="flex items-center gap-0.5 transition-colors px-1.5 h-full
|
||||
{vote == 1
|
||||
? shouldShowVoteColor(vote, 'upvotes')
|
||||
: 'hover:bg-slate-100 hover:dark:bg-zinc-800'}"
|
||||
: 'hover:bg-slate-100 dark:hover:bg-zinc-800'}"
|
||||
>
|
||||
<Icon src={ChevronUp} size="18" mini />
|
||||
<span class="grid text-sm">
|
||||
@@ -71,14 +71,14 @@
|
||||
</span>
|
||||
</button>
|
||||
<div
|
||||
class="border-l h-4 w-0 !p-0 border-slate-200 dark:border-zinc-800"
|
||||
class="border-l h-4 w-0 p-0! border-slate-200 dark:border-zinc-800"
|
||||
></div>
|
||||
<button
|
||||
onclick={() => castVote(vote == -1 ? 0 : -1)}
|
||||
class="flex flex-row-reverse items-center gap-0.5 h-full transition-colors border-0 px-1.5
|
||||
{vote == -1
|
||||
? shouldShowVoteColor(vote, 'downvotes')
|
||||
: 'hover:bg-slate-100 hover:dark:bg-zinc-800'}"
|
||||
: 'hover:bg-slate-100 dark:hover:bg-zinc-800'}"
|
||||
>
|
||||
<Icon src={ChevronDown} size="18" mini />
|
||||
<span class="grid text-sm">
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
{#if node.comment_view.counts.child_count > 0 && node.children.length == 0}
|
||||
<svelte:element
|
||||
this={hydrated ? 'div' : 'a'}
|
||||
class="w-full h-10 !border-y-0 -mt-2 -ml-2.5"
|
||||
class="w-full h-10 border-y-0! -mt-2 -ml-2.5"
|
||||
href="/comment/{page.params.instance}/{node.comment_view.comment.id}"
|
||||
>
|
||||
<Button
|
||||
@@ -138,7 +138,7 @@
|
||||
disabled={nodes[index].loading}
|
||||
rounding="pill"
|
||||
color="tertiary"
|
||||
class="font-normal !text-sm text-slate-600 dark:text-zinc-400"
|
||||
class="font-normal text-sm! text-slate-600 dark:text-zinc-400"
|
||||
loaderWidth={16}
|
||||
onclick={() => {
|
||||
if (nodes[index].depth > 4) {
|
||||
|
||||
Reference in new issue
Block a user