File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export default function RootLayout({
4242} > ) {
4343 return (
4444 < html lang = "ko" className = { `${ nanum . variable } ${ pretendard . variable } ` } >
45- < body > { children } </ body >
45+ < body className = "px-4 transition-all md:px-0" > { children } </ body >
4646 </ html >
4747 ) ;
4848}
Original file line number Diff line number Diff line change @@ -30,11 +30,13 @@ export default function PostList({ posts }: { posts: ReducedPost[] }) {
3030 { postsByYear [ year ] . map ( ( post ) => (
3131 < li key = { post . slug } className = "group/item text-gray-800" >
3232 < a
33- className = "flex w-full items-center justify-between transition-opacity hover:!opacity-100 group-hover:opacity-40"
33+ className = "flex w-full items-center justify-between gap-5 transition-opacity hover:!opacity-100 group-hover:opacity-40"
3434 href = { post . slug }
3535 >
3636 < div className = "group-hover/item:selection p-0.5" > { post . title } </ div >
37- < div className = "group-hover/item:selection p-0.5 text-sm" > { post . date } </ div >
37+ < div className = "group-hover/item:selection text-nowrap p-0.5 text-sm" >
38+ { post . date }
39+ </ div >
3840 </ a >
3941 </ li >
4042 ) ) }
You can’t perform that action at this time.
0 commit comments