@@ -51,12 +51,12 @@ export default async function Post(props: Params) {
5151 < >
5252 { post . preview && < Alert preview = { post . preview } /> }
5353
54- < article className = "mb-8 pt-16 sm:pt-24 sm:mb-16" >
54+ < article className = "mb-6 pt-14 sm:pt-24 sm:mb-16" >
5555 < Container >
5656 < div className = "max-w-4xl mx-auto" >
5757 { /* Simplified header card with reduced padding on mobile */ }
58- < div className = "mb-6 sm:mb-10" >
59- < div className = "relative bg-white dark:bg-mono-800 border border-mono-200 dark:border-mono-700 rounded-lg p-4 sm:p-6 md:p-8 shadow-sm sm:shadow-md overflow-hidden" >
58+ < div className = "mb-4 sm:mb-10" >
59+ < div className = "relative bg-white dark:bg-mono-800 border border-mono-200 dark:border-mono-700 rounded-lg p-3 sm:p-6 md:p-8 shadow-sm sm:shadow-md overflow-hidden" >
6060 < div className = "flex justify-between items-center mb-4" >
6161 < div className = "text-sm text-mono-500 dark:text-mono-400" >
6262 < DateFormatter dateString = { post . date } />
@@ -65,14 +65,14 @@ export default async function Post(props: Params) {
6565
6666 < div className = "md:px-2" >
6767 { /* Title with clean appearance */ }
68- < h1 className = "text-2xl sm:text-3xl md:text-4xl font-bold mb-4 sm:mb-6 text-mono-800 dark:text-mono-200" >
68+ < h1 className = "text-xl sm:text-3xl md:text-4xl font-bold mb-3 sm:mb-6 text-mono-800 dark:text-mono-200" >
6969 { post . title }
7070 </ h1 >
7171
7272 { /* Author info - simplified for mobile */ }
73- < div className = "mb-4 sm:mb-6" >
73+ < div className = "mb-3 sm:mb-6" >
7474 < div className = "flex items-center" >
75- < div className = "w-10 h-10 sm:w-12 sm:h-12 rounded-full overflow-hidden border-2 border-mono-200 dark:border-mono-700 mr-3 sm:mr-4" >
75+ < div className = "w-8 h-8 sm:w-12 sm:h-12 rounded-full overflow-hidden border-2 border-mono-200 dark:border-mono-700 mr-2 sm:mr-4" >
7676 < img
7777 src = { post . author . picture }
7878 alt = { post . author . name }
@@ -81,10 +81,10 @@ export default async function Post(props: Params) {
8181 />
8282 </ div >
8383 < div >
84- < p className = "font-medium text-mono-900 dark:text-mono-100" >
84+ < p className = "text-sm sm:text-base font-medium text-mono-900 dark:text-mono-100" >
8585 { post . author . name } { post . coauthors && post . coauthors . length > 0 ? " (Lead Author)" : "" }
8686 </ p >
87- < p className = "text-sm text-mono-600 dark:text-mono-400" >
87+ < p className = "text-xs sm:text- sm text-mono-600 dark:text-mono-400" >
8888 OVOS Contributor
8989 </ p >
9090 </ div >
@@ -121,7 +121,7 @@ export default async function Post(props: Params) {
121121
122122 { /* Cover image with lazy loading */ }
123123 { post . coverImage && (
124- < div className = "relative aspect-video rounded-lg overflow-hidden shadow-sm mb-4 sm:mb-8" >
124+ < div className = "relative aspect-video rounded-lg overflow-hidden shadow-sm mb-3 sm:mb-8" >
125125 < img
126126 src = { post . coverImage }
127127 alt = { post . title }
@@ -135,14 +135,16 @@ export default async function Post(props: Params) {
135135 </ div >
136136
137137 { /* Post body with reduced padding on mobile */ }
138- < div className = "bg-white dark:bg-mono-800 border border-mono-200 dark:border-mono-700 rounded-lg p-4 sm:p-6 md:p-8 shadow-sm sm:shadow-md" >
138+ < div className = "bg-white dark:bg-mono-800 border border-mono-200 dark:border-mono-700 rounded-lg p-3 sm:p-6 md:p-8 shadow-sm sm:shadow-md" >
139139 < div
140140 className = "prose dark:prose-invert
141141 prose-headings:text-mono-800 dark:prose-headings:text-mono-100
142142 prose-p:text-mono-700 dark:prose-p:text-mono-300
143143 prose-a:text-accent hover:prose-a:text-accent-light
144144 prose-img:rounded-md prose-img:shadow-sm
145- max-w-none prose-sm sm:prose-base"
145+ max-w-none prose-sm sm:prose-base lg:prose-lg
146+ prose-headings:text-lg sm:prose-headings:text-xl lg:prose-headings:text-2xl
147+ prose-p:text-sm sm:prose-p:text-base"
146148 >
147149 < PostBody content = { content } />
148150 </ div >
0 commit comments