Skip to content

Commit 21e646b

Browse files
committed
fix: improve layout and spacing in FeatureCard component
1 parent 05f4ca6 commit 21e646b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/FeatureCard.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<template>
22
<a
33
:href="linkUrl"
4-
class="block h-full text-inherit no-underline! visited:no-underline! hover:no-underline! active:no-underline!"
4+
class="block h-full min-h-40 text-inherit no-underline! visited:no-underline! hover:no-underline! active:no-underline!"
55
>
66
<div
77
class="bg-soft-bg border-border flex h-full cursor-pointer flex-col rounded-lg border p-3 transition-all duration-200 ease-in-out hover:-translate-y-0.5 hover:shadow-md"
88
>
9-
<div class="!mb-3 flex items-center gap-2">
9+
<div class="flex items-center gap-2">
1010
<Icon :icon="icon" class="text-xl" :class="iconColor" />
11+
<h3 class="text-text1 !mt-0 !mb-0 text-base font-semibold">
12+
{{ title }}
13+
</h3>
1114
</div>
12-
<h3 class="text-text1 !mt-0 !mb-0 text-base font-semibold">
13-
{{ title }}
14-
</h3>
15-
<p class="text-text2 !mx-2 !my-2 flex-grow text-sm leading-relaxed">
15+
<p class="text-text2 !mt-2 flex-grow text-sm leading-relaxed">
1616
{{ description }}
1717
</p>
1818
</div>

0 commit comments

Comments
 (0)