kleinere fixes zur sichtbarkeit der texte in aufgabenkarten und der demo-vorschau auf der homepage.

This commit is contained in:
Codex Agent
2025-12-18 13:42:57 +01:00
parent 2e4226a838
commit 2196346db7
2 changed files with 49 additions and 12 deletions

View File

@@ -534,7 +534,7 @@ function MissionActionCard({
</div>
</div>
<div className="flex items-center gap-1 rounded-full border border-white/70 bg-white/80 px-3 py-1 text-xs font-semibold text-slate-700 shadow-sm">
<div className="hidden items-center gap-1 rounded-full border border-white/70 bg-white/80 px-3 py-1 text-xs font-semibold text-slate-700 shadow-sm sm:flex">
<Timer className="mr-1 h-3.5 w-3.5 text-slate-500" aria-hidden />
<span>ca. {durationMinutes} min</span>
</div>
@@ -543,7 +543,7 @@ function MissionActionCard({
<div className="mt-4 text-center">
{card ? (
<p
className="text-2xl font-semibold leading-tight text-slate-900 line-clamp-3 min-h-[3.5rem] py-1"
className="text-xl font-semibold leading-snug text-slate-900 sm:text-2xl break-words py-1"
style={{ ...titleFont, textShadow: '0 6px 18px rgba(15,23,42,0.28)' }}
>
{card.title}
@@ -603,7 +603,7 @@ function MissionActionCard({
}}
>
<RefreshCw className={`mr-2 h-4 w-4 ${loading ? 'animate-spin' : ''}`} aria-hidden />
Andere
<span className="hidden sm:inline">Andere</span>
</Button>
</div>
</div>