From 3a6d20101b28875e5e416246615ce76dbfd5e1b9 Mon Sep 17 00:00:00 2001 From: shake Date: Tue, 23 Jun 2026 02:25:49 +0800 Subject: [PATCH] fix: restore tool descriptions --- src/components/ToolCard.vue | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/src/components/ToolCard.vue b/src/components/ToolCard.vue index 1037d791..5ab1cf06 100644 --- a/src/components/ToolCard.vue +++ b/src/components/ToolCard.vue @@ -15,7 +15,7 @@ const theme = useThemeVars(); style="border-radius: 22px; box-shadow: 0 10px 24px rgba(62, 43, 18, 0.06); overflow: hidden;" >
- +
{{ tool.name }}
+ +
+ + {{ tool.description }} + +
@@ -44,10 +50,10 @@ const theme = useThemeVars(); background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 251, 243, 0.94) 100%); display: flex; flex-direction: column; - justify-content: flex-start; - gap: 10px; - min-height: 140px; - padding: 14px 16px 12px; + justify-content: space-between; + gap: 14px; + min-height: 172px; + padding: 16px 18px 14px; } .tool-card:hover { @@ -56,11 +62,16 @@ const theme = useThemeVars(); } .tool-card__header { - min-height: 30px; + min-height: 34px; } .tool-card__title { - font-size: 15px; + font-size: 16px; line-height: 1.25; } + +.tool-card__description { + line-height: 1.5; + min-height: 3em; +}