revert font style in document
This commit is contained in:
parent
8d642c4785
commit
d790e981c4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
`}
|
`}
|
||||||
|
|
Loading…
Reference in a new issue