Skip to content

Commit 880e7fa

Browse files
committed
fix author style
1 parent 08d9db1 commit 880e7fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/blog/[slug]/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default function BlogLayout({
5858
function SmallAuthor({ author }: { author: AuthorData }) {
5959
return (
6060
<a
61-
className="flex flex-row items-center gap-1 text-foreground"
61+
className="flex flex-row items-center gap-1.5 text-foreground"
6262
href={author.url ?? "#"}
6363
rel="nofollow noreferrer"
6464
target="_blank"
@@ -70,7 +70,7 @@ function SmallAuthor({ author }: { author: AuthorData }) {
7070
src={author.image_url}
7171
width={25}
7272
height={25}
73-
className="rounded-full"
73+
className="h-full rounded-full"
7474
/>
7575
)}
7676
{author.name}
@@ -111,7 +111,7 @@ function Footer({ page }: { page: Page }) {
111111
src={author.image_url}
112112
width={40}
113113
height={40}
114-
className="rounded-full"
114+
className="h-full rounded-full"
115115
/>
116116
)}
117117
<div>

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const metadata: Metadata = {
3939

4040
export default function RootLayout({ children }: { children: ReactNode }) {
4141
return (
42-
<html lang="zh-Hant-TW" className={noto.className}>
42+
<html lang="zh-Hant-TW" className={noto.className} suppressHydrationWarning>
4343
<body className="flex min-h-screen flex-col">
4444
<AdsProvider>
4545
<NextDocsProvider>

0 commit comments

Comments
 (0)