feat: a pin component

This commit is contained in:
2026-02-26 18:11:33 +08:00
parent f3b9078c45
commit f7eb116aa3
3 changed files with 149 additions and 3 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ export const Article: Component<ArticleProps> = (props) => {
<div class="text-red-500">{content.error?.message}</div>
</Show>
<Show when={!content.loading && !content.error && content()}>
<div innerHTML={parseMarkdown(content()!)} />
<div class="relative" innerHTML={parseMarkdown(content()!)} />
</Show>
</article>
);