File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -27,23 +27,25 @@ export const PostCard: React.FC<PostPreview> = ({
27
27
} ) => {
28
28
return (
29
29
< div >
30
- < div className = "bg-gradient-to-br from-gray-100 via-gray-100 to-white shadow rounded-2xl h-auto w-96 p-4 flex flex-col justify-around" >
31
- < img className = "rounded-md" src = { backgroundlink } alt = { title } />
32
- < p className = "w-wuto h-auto text-lg font-extrabold text-center text-gray-800" >
30
+ < div className = "bg-gradient-to-br from-gray-100 via-gray-100 to-white shadow rounded-3xl
31
+ h-auto max-w-sm p-4 flex flex-col justify-around"
32
+ >
33
+ < img className = "rounded-3xl" src = { backgroundlink } alt = { title } />
34
+ < p className = "w-full h-auto py-2 text-lg font-extrabold text-center text-gray-800" >
33
35
{ title }
34
36
</ p >
35
37
< div className = "h-16 flex flex-row w-full justify-between" >
36
38
< div className = "flex flex-row items-stretch justify-center w-auto py-2.5 px-0 pr-1 bg-gray-200 rounded-full" >
37
39
< img
38
- className = "mx-4 w-12 h-12 rounded-full self-center"
40
+ className = "mx-2 w-12 h-12 rounded-full self-center"
39
41
src = { author . picture }
40
42
alt = { "Image of " + author . name }
41
43
/>
42
- < p className = "flex-1 py-2 h-full text-lg font-semibold text-gray-800 whitespace-nowrap self-center" >
44
+ < p className = "flex-1 py-2 pr-2 h-full text-lg font-semibold text-gray-800 whitespace-nowrap self-center" >
43
45
{ author . name }
44
46
</ p >
45
47
</ div >
46
- < div className = "w-16 h-16 bg-gray-800 rounded-full flex justify-center items-center shadow-md self-end" >
48
+ < div className = "w-16 h-16 bg-gray-800 rounded-full flex justify-center items-center shadow-md self-end mr-4 " >
47
49
48
50
< LaterSvg />
49
51
</ div >
You can’t perform that action at this time.
0 commit comments