💄 Better article
This commit is contained in:
		| @@ -22,7 +22,7 @@ export default function PostDetailPage({ params }: { params: { id: string } }) { | ||||
|  | ||||
|       <CardContent sx={{ paddingX: 5, paddingY: 3 }}> | ||||
|         <Box> | ||||
|           <Typography gutterBottom variant="h5" component="h1"> | ||||
|           <Typography gutterBottom variant="h2"> | ||||
|             {post.title} | ||||
|           </Typography> | ||||
|           <Typography color="text.secondary" variant="body2"> | ||||
| @@ -30,7 +30,7 @@ export default function PostDetailPage({ params }: { params: { id: string } }) { | ||||
|           </Typography> | ||||
|         </Box> | ||||
|         <Divider sx={{ my: 5 }} /> | ||||
|         <Box component="article" sx={{ minWidth: 0 }}> | ||||
|         <Box component="article" className="prose max-w-none" sx={{ minWidth: 0 }}> | ||||
|           <PostContent content={post.content ?? ""} /> | ||||
|         </Box> | ||||
|       </CardContent> | ||||
|   | ||||
| @@ -5,7 +5,7 @@ export default function PostLayout({children}: Readonly<{ | ||||
|   children: ReactNode; | ||||
| }>) { | ||||
|   return ( | ||||
|     <Container sx={{ display: "flex", justifyContent: "center", gap: 4, py: 4 }}> | ||||
|     <Container sx={{ display: "flex", justifyContent: "center", gap: 4, py: 2 }}> | ||||
|       <Box sx={{ flexGrow: 1, maxWidth: 720 }}> | ||||
|         {children} | ||||
|       </Box> | ||||
|   | ||||
| @@ -22,7 +22,7 @@ export default function PostList() { | ||||
|         } | ||||
|  | ||||
|         <CardContent sx={{ paddingX: 5, paddingY: 3 }}> | ||||
|           <Typography gutterBottom variant="h5" component="h2"> | ||||
|           <Typography gutterBottom variant="h3"> | ||||
|             {post.title} | ||||
|           </Typography> | ||||
|           <Typography variant="body2" color="text.secondary"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user