Skip to content

Commit

Permalink
feat(design): improve mobile responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna committed Feb 18, 2024
1 parent 27e3867 commit c750488
Show file tree
Hide file tree
Showing 2 changed files with 2 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-hidden">
<Navbar title={props.title} />
{props.children}
</div>
Expand Down
2 changes: 1 addition & 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">
<div className="w-screen h-[calc(100vh-74px)] 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

0 comments on commit c750488

Please sign in to comment.