File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -246,15 +246,19 @@ export default function StaticMarkdownPage({
246
246
247
247
return (
248
248
< section key = { blogPost . slug } >
249
- < div className = 'sm: h-[498px ] flex border rounded-lg shadow-sm hover:shadow-lg transition-all overflow-hidden dark:border-slate-500' >
249
+ < div className = 'h-[510px ] flex border rounded-lg shadow-sm hover:shadow-lg transition-all overflow-hidden dark:border-slate-500' >
250
250
< Link
251
251
href = { `/blog/posts/${ blogPost . slug } ` }
252
252
className = 'inline-flex flex-col flex-1 w-full'
253
253
>
254
- < div
255
- className = 'bg-slate-50 h-[160px] w-full self-stretch mr-3 bg-cover bg-center'
256
- style = { { backgroundImage : `url(${ frontmatter . cover } )` } }
257
- />
254
+ < div className = ' h-max-[200px] w-full object-cover' >
255
+ < div
256
+ className = 'bg-slate-50 h-[160px] w-full self-stretch mr-3 bg-cover bg-center'
257
+ style = { {
258
+ backgroundImage : `url(${ frontmatter . cover } )` ,
259
+ } }
260
+ />
261
+ </ div >
258
262
< div className = ' p-4 flex flex-col flex-1 justify-between' >
259
263
< div >
260
264
< div >
@@ -277,7 +281,7 @@ export default function StaticMarkdownPage({
277
281
{ frontmatter . type || 'Unknown Type' }
278
282
</ div >
279
283
</ div >
280
- < div className = 'text-lg font-semibold' >
284
+ < div className = 'text-lg h-[80px] font-semibold' >
281
285
{ frontmatter . title }
282
286
</ div >
283
287
You can’t perform that action at this time.
0 commit comments