revert font style in document

This commit is contained in:
Youwen Wu 2024-02-12 23:16:05 -08:00
parent 8d642c4785
commit d790e981c4

View file

@ -13,7 +13,7 @@ import Link from 'next/link'
import { useSuspenseQuery } from '@tanstack/react-query' import { useSuspenseQuery } from '@tanstack/react-query'
import { loadDocument } from '@/app/db/loaders' import { loadDocument } from '@/app/db/loaders'
const zillaSlab = Zilla_Slab({ subsets: ['latin'], weight: ['500', '700'] }) const zillaSlab = Zilla_Slab({ subsets: ['latin'], weight: ['500'] })
export default function DocumentViewer({ slug }: Readonly<{ slug: string }>) { export default function DocumentViewer({ slug }: Readonly<{ slug: string }>) {
const { data, error } = useSuspenseQuery({ const { data, error } = useSuspenseQuery({
@ -44,7 +44,7 @@ export default function DocumentViewer({ slug }: Readonly<{ slug: string }>) {
<div className='max-w-4xl lg:max-w-6xl mx-auto'> <div className='max-w-4xl lg:max-w-6xl mx-auto'>
<h1 <h1
className={` className={`
text-slate-800 font-bold text-5xl mb-4 text-slate-800 text-5xl mb-4
${zillaSlab.className} ${zillaSlab.className}
text-wrap text-wrap
`} `}