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} }