From cb04cdd1d9fb528cde84cdae8c2ebf5d02bbcbe1 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Wed, 6 May 2026 17:38:32 -0500 Subject: [PATCH] fix(coverage): align progress percentage with bar, not title --- .../live/coverage_live/show.html.heex | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/lib/towerops_web/live/coverage_live/show.html.heex b/lib/towerops_web/live/coverage_live/show.html.heex index 88552356..6d8719f2 100644 --- a/lib/towerops_web/live/coverage_live/show.html.heex +++ b/lib/towerops_web/live/coverage_live/show.html.heex @@ -38,26 +38,28 @@ <%= if @coverage.status == "computing" do %>
-
+
<.icon name="hero-arrow-path" - class="h-5 w-5 text-yellow-700 dark:text-yellow-400 animate-spin" + class="h-5 w-5 text-yellow-700 dark:text-yellow-400 animate-spin shrink-0" />

{t("Computing coverage…")}

-
-
+
+
+
+
+ + {@coverage.progress_pct}% +
- - {@coverage.progress_pct}% -
<% end %>