Skip to content

Commit 7ec2103

Browse files
committed
tidy up for tablet
1 parent ed5d26c commit 7ec2103

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CommunityContent.res

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module LinkCard = {
2020
let make = (~link) => {
2121
<div className="rounded-lg hover:text-fire overflow-hidden bg-gray-10 border-2 border-gray-30">
2222
<a href=link.url className="flex flex-col h-full">
23-
<img className="object-cover w-full md:h-40 max-h-[345px]" src=link.image alt="" />
23+
<img className="object-cover w-full lg:h-40 max-h-[345px]" src=link.image alt="" />
2424
<div className="p-3 md:p-5 grow">
2525
<h3 className="font-semibold text-16 grow-0 mb-2"> {React.string(link.title)} </h3>
2626
<p className="mb-2 text-14 grow text-gray-80"> {React.string(link.description)} </p>
@@ -36,7 +36,7 @@ module LinkCard = {
3636
module LinkCards = {
3737
@react.component
3838
let make = () => {
39-
<div className="grid md:grid-cols-2 gap-6">
39+
<div className="grid lg:grid-cols-2 gap-6">
4040
{resources
4141
->Array.map(link =>
4242
switch link.image {

0 commit comments

Comments
 (0)