Skip to content

Commit fc42bc4

Browse files
committed
docs scroll fix
1 parent 1505713 commit fc42bc4

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

pages/docs/index.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,16 @@ export default function DocsPage({ content, headings }: DocsPageProps) {
2525
<meta name="description" content="Complete guide to integrating Base Verify into your mini app" />
2626
</Head>
2727

28+
<style jsx global>{`
29+
html {
30+
scroll-padding-top: 100px;
31+
}
32+
`}</style>
33+
2834
<div style={{
2935
minHeight: '100vh',
3036
background: '#f5f5f5',
31-
fontFamily: '"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif',
37+
fontFamily: '"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'
3238
}}>
3339
{/* Header */}
3440
<div style={{

0 commit comments

Comments
 (0)