Skip to content

Commit bc73bf7

Browse files
committed
style fixes
1 parent 26b992a commit bc73bf7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/CommunityContent.res

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ module LinkCard = {
2020
let make = (~link) => {
2121
<div className="rounded-lg hover:text-fire overflow-hidden bg-gray-10">
2222
<a href=link.url className="flex flex-col h-full">
23-
<img className="object-cover w-full h-40" src=link.image alt="" />
23+
<img className="object-cover w-full md:h-40 max-h-[345px]" src=link.image alt="" />
2424
<div className="p-2 grow">
25-
<h3 className="font-semibold text-14 grow-0"> {React.string(link.title)} </h3>
26-
<p className="mb-2 text-12 grow truncate"> {React.string(link.description)} </p>
25+
<h3 className="font-semibold text-16 grow-0 mb-2"> {React.string(link.title)} </h3>
26+
<p className="mb-2 text-14 grow text-gray-80"> {React.string(link.description)} </p>
2727
</div>
2828
<p className="text-14 p-2 grow-0 text-gray-70">
2929
{React.string(link.url->simplifyUrl->Option.getOr(""))}

0 commit comments

Comments
 (0)