File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ const Card = ({
56
56
return (
57
57
< div
58
58
key = { paper . _id }
59
- className = { `mb-2 flex w-[65 %] flex-col justify-between space-y-1 rounded-xl border-2 border-black bg-white hover:border-[#434dba] dark:border-[#434dba] dark:bg-black dark:hover:border-white md:w-64 ${ checked ? "bg-[#EEF2FF] dark:bg-[#050b1f]" : "" } p-4 ` }
59
+ className = { `mb-2 flex w-[70 %] flex-col justify-between space-y-1 rounded-xl border-2 border-black bg-white hover:border-[#434dba] dark:border-[#434dba] dark:bg-black dark:hover:border-white md:w-64 ${ checked ? "bg-[#EEF2FF] dark:bg-[#050b1f]" : "" } p-4 ` }
60
60
>
61
61
< Link
62
62
href = { `/paper/${ paper . _id } ` }
Original file line number Diff line number Diff line change @@ -29,17 +29,19 @@ const PreviewCard = ({ paper }: { paper: IPaper }) => {
29
29
className = "mb-2 h-[156px] w-full object-cover md:h-[170px]"
30
30
/>
31
31
32
- < div className = "flex h-28 flex-col justify-center space-y-2" >
32
+ < div className = "flex h-25 flex-col justify-center space-y-2" >
33
33
< div className = "font-sans text-sm font-medium" >
34
34
{ extractBracketContent ( paper . subject ) }
35
35
</ div >
36
36
< div className = "cursor-pointer font-sans text-base font-semibold" >
37
37
{ extractWithoutBracketContent ( paper . subject ) }
38
38
</ div >
39
- < div className = "flex gap-2" >
39
+ < div className = "flex flex-wrap gap-2" >
40
40
{ capsule ( paper . exam ) }
41
41
{ capsule ( paper . slot ) }
42
42
{ capsule ( paper . year ) }
43
+ { capsule ( paper . semester ) }
44
+
43
45
</ div >
44
46
</ div >
45
47
</ Link >
You can’t perform that action at this time.
0 commit comments