refactor(blog): widen content area #77

Merged
developomp merged 1 commit from widen-content-area into master 2023-07-09 10:55:58 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ function App() {
return (
<>
<Header />
<main className="mx-auto mb-8 mt-20 flex w-full max-w-screen-mobile grow flex-col items-center gap-8 px-8">
<main className="mx-auto mb-8 mt-20 flex w-full max-w-screen-mobile grow flex-col items-center gap-8 px-4">
<Switch>
<Route path="/">
<Home />

View file

@ -8,7 +8,7 @@ interface Props {
export default function Card({ children, className }: Props) {
return (
<div
className={`${className} flex h-fit w-full max-w-screen-mobile flex-col rounded-md bg-light-card-bg p-8 shadow-lg dark:bg-dark-card-bg`}
className={`${className} flex h-fit w-full max-w-screen-mobile flex-col rounded-md bg-light-card-bg px-6 py-8 shadow-lg dark:bg-dark-card-bg`}
>
{children}
</div>