From 54ecd30a9863238fe8bcda1f9f8d7b17ac59de3a Mon Sep 17 00:00:00 2001 From: "jamo.siu@gmail.com" Date: Thu, 21 May 2026 21:16:58 -0500 Subject: [PATCH] chore: collapse className to single line and adjust Author margin --- theme/components/Author.tsx | 5 +---- theme/index.tsx | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/theme/components/Author.tsx b/theme/components/Author.tsx index 26e50ca..eb68122 100644 --- a/theme/components/Author.tsx +++ b/theme/components/Author.tsx @@ -114,10 +114,7 @@ export function Author({ className }: { className?: string }) { return ( + className={`flex items-center gap-2 my-6 p-1 rounded-full border border-(--rp-c-divider) bg-(--rp-c-bg-soft) no-underline transition-colors hover:bg-(--rp-c-bg-mute) cursor-pointer select-none w-fit ${className ? `${className}` : ""}`}> {src && {author.name}} {author.name} diff --git a/theme/index.tsx b/theme/index.tsx index 31f221c..938f23e 100644 --- a/theme/index.tsx +++ b/theme/index.tsx @@ -10,7 +10,7 @@ function DocLayout(props: DocLayoutProps) { {...props} beforeOutline={ <> - + {props.beforeOutline} }