Skip to content

Commit

Permalink
feat(design): fix design
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna committed Feb 18, 2024
1 parent 5a15c96 commit cf882b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layout/page-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const PageLayout: FC<IProps> = (props) => {
<title>{props.title}</title>
<meta name="description" content={props.description} />
</Head>
<div className="bg-background text-text">
<div className="bg-background text-text overflow-x-hidden">
<Navbar title={props.title} />
{props.children}
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/pages/about.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default function About() {
return (
<>
<div className="w-screen h-[calc(100vh-74px)] bg-background flex justify-center px-4">
<div className="w-screen h-full bg-background flex justify-center px-4">
<div className="py-4 max-w-lg">
<h1 className="text-2xl underline">about web-expl</h1>
<p className="text-primary">
Expand Down Expand Up @@ -31,6 +31,7 @@ export default function About() {
</p>
<br />
<center>Developed with 💖 using NextJS, TailwindCSS and ThreeJS</center>
<div className="p-16"/>
</div>
</div>
</>
Expand Down

0 comments on commit cf882b8

Please sign in to comment.