fix: post vote style
This commit is contained in:
1 parent
66f9942964
commit
72cfd7a894
2 files changed
+2
-2
No files matched your search
@@ -107,7 +107,7 @@
|
|||||||
: 'text-slate-600 max-h-48'}"
|
: 'text-slate-600 max-h-48'}"
|
||||||
>
|
>
|
||||||
<Markdown inline source={post.post.body.slice(0, 400)} />
|
<Markdown inline source={post.post.body.slice(0, 400)} />
|
||||||
{#if post.post.body.length > (compact ? 300 : 600)}
|
{#if post.post.body.length > (compact ? 200 : 600)}
|
||||||
<div
|
<div
|
||||||
class="absolute bottom-0 w-full h-16 bg-gradient-to-b {compact
|
class="absolute bottom-0 w-full h-16 bg-gradient-to-b {compact
|
||||||
? 'dark:from-zinc-950/0 dark:to-zinc-950 from-slate-50/0 to-slate-50'
|
? 'dark:from-zinc-950/0 dark:to-zinc-950 from-slate-50/0 to-slate-50'
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
{:else}
|
{:else}
|
||||||
<div
|
<div
|
||||||
class="flex items-center text-sm gap-1 rounded-md border border-slate-200
|
class="flex items-center text-sm gap-1 rounded-md border border-slate-200
|
||||||
dark:border-zinc-700 px-1 h-full duration-200"
|
dark:border-zinc-700 px-1 h-full duration-200 dark:bg-zinc-900"
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
aria-label="Upvote"
|
aria-label="Upvote"
|
||||||
|
|||||||
Reference in new issue
Block a user