Skip to content

Commit 66eb39f

Browse files
committed
Allow matchmaking cards to grow with expanded description content.
Restore flexible card height behavior so text is not clipped while preserving baseline minimum card sizing. Made-with: Cursor
1 parent 5dce1f5 commit 66eb39f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

resources/js/components/matchmaking/ToolCard.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="flex h-[430px] flex-col bg-white rounded-lg overflow-hidden">
2+
<div class="flex h-full min-h-[430px] flex-col bg-white rounded-lg overflow-hidden">
33
<div
44
class="flex-shrink-0 flex justify-center items-center w-full h-[178px] bg-white"
55
>
@@ -58,10 +58,10 @@
5858

5959
<div
6060
v-if="tool.description"
61-
class="flex-grow min-h-0 overflow-hidden"
61+
class="flex-grow"
6262
>
6363
<div
64-
class="h-full text-slate-500 text-[16px] leading-[22px] mb-2"
64+
class="text-slate-500 text-[16px] leading-[22px] mb-2"
6565
>
6666
<div v-html="formatMultiline(showMore ? tool.description : getCollapsedText(tool.description))" />
6767

0 commit comments

Comments
 (0)