fix(19): use pure Tailwind for grid progress bar — remove custom CSS classes causing empty bar

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Arthur Belleville 2026-05-17 22:34:59 +02:00
parent 6b73c78d9d
commit 53ea451d1c
No known key found for this signature in database

View file

@ -208,8 +208,8 @@ templ TabloProjectCard(card TabloCardView, csrfToken string) {
<span class="text-xs text-gray-500">{ strconv.Itoa(card.DoneTasks) }/{ strconv.Itoa(card.TotalTasks) } tâches</span>
<span class="text-xs font-semibold text-gray-700">{ strconv.Itoa(card.Progress) }%</span>
</div>
<div class="w-full bg-gray-100 rounded-full h-1.5 project-progress-track">
<div class="bg-purple-500 h-1.5 rounded-full project-card-progress-bar" style={ "width: " + strconv.Itoa(card.Progress) + "%" }></div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-green-500 h-2 rounded-full" style={ "width: " + strconv.Itoa(card.Progress) + "%" }></div>
</div>
</div>
</div>