refactor(blog): widen content area
This commit is contained in:
parent
6787eb1c00
commit
7af6907a54
2 changed files with 2 additions and 2 deletions
|
@ -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 />
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue