Skip to content

Commit

Permalink
fix: remove extra margin in doc title
Browse files Browse the repository at this point in the history
  • Loading branch information
YounixM committed Jul 9, 2024
1 parent 52fc2f9 commit 89d4a92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/docs/[...slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default async function Page({ params }: { params: { slug: string[] } }) {
<>
<div className="doc">
<div className="doc-content">
<h2 className="text-3xl">{title}</h2>
<h2 className="mt-2 text-3xl">{title}</h2>
<MDXLayoutRenderer code={post.body.code} components={components} toc={post.toc || []} />
<DocsPrevNext />
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/ProgressBar/ProgressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const ProgressBar = ({ target }: ProgressBarProps) => {
}, [scrollListener])

return (
<div className="progress-bar fixed left-0 right-0 top-[46px] z-30 w-full">
<div className="progress-bar fixed left-0 right-0 top-[52px] z-30 w-full">
<div
className="h-1 bg-indigo-500"
style={{
Expand Down

0 comments on commit 89d4a92

Please sign in to comment.