misc: increase comment form height

This commit is contained in:
Xyphyn committed 2023-08-12 20:09:45 -07:00
1 parent 47b29e2208
commit 130bd442a5
2 files changed
+3 -3

No files matched your search

@@ -61,14 +61,14 @@
<div class="flex flex-col gap-2 relative">
{#if preview}
<div
class="bg-slate-100 dark:bg-zinc-900 px-3 py-2.5 h-[102px] border
class="bg-slate-100 dark:bg-zinc-900 px-3 py-2.5 h-64 border
border-slate-300 dark:border-zinc-700 rounded-md overflow-auto text-sm"
>
<Markdown source={value} />
</div>
{:else}
<MarkdownEditor
rows={4}
rows={7}
placeholder={locked
? 'This post is locked.'
: placeholders.get('comment')}
+1 -1
View File
@@ -13,7 +13,7 @@ async function customFetch(
init?: RequestInit | undefined
): Promise<Response> {
const res = await func(input, init)
if (!res.ok) throw error(res.status, res.statusText)
if (!res.ok) throw error(res.status, await res.text())
return res
}