File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const PreviewCard = ({ paper }: { paper: Paper }) => {
14
14
return (
15
15
< div
16
16
key = { paper . _id }
17
- className = "w-56 space-y-1 rounded-xl border border-black border-opacity-50 p-4 dark:border-[#7480FF]/25 flex flex-col justify-between "
17
+ className = "w-56 space-y-1 rounded-xl border border-black border-opacity-50 p-4 dark:border-[#7480FF]/25"
18
18
>
19
19
< Link href = { paper . finalUrl } target = "_blank" rel = "noopener noreferrer" >
20
20
< Image
@@ -25,16 +25,18 @@ const PreviewCard = ({ paper }: { paper: Paper }) => {
25
25
className = "mb-2 h-[150px] w-full object-cover"
26
26
/>
27
27
</ Link >
28
- < div className = "text-sm font-medium" >
29
- { extractBracketContent ( paper . subject ) }
30
- </ div >
31
- < div className = "text-md font-medium" >
32
- { extractWithoutBracketContent ( paper . subject ) }
33
- </ div >
34
- < div className = "mb-2 flex gap-2" >
35
- { capsule ( paper . exam ) }
36
- { capsule ( paper . slot ) }
37
- { capsule ( paper . year ) }
28
+ < div className = "flex flex-col justify-between h-28" >
29
+ < div className = "text-sm font-medium" >
30
+ { extractBracketContent ( paper . subject ) }
31
+ </ div >
32
+ < div className = "text-md font-medium" >
33
+ { extractWithoutBracketContent ( paper . subject ) }
34
+ </ div >
35
+ < div className = "flex gap-2" >
36
+ { capsule ( paper . exam ) }
37
+ { capsule ( paper . slot ) }
38
+ { capsule ( paper . year ) }
39
+ </ div >
38
40
</ div >
39
41
</ div >
40
42
) ;
You can’t perform that action at this time.
0 commit comments