From e6665ece0f30f8a2dbd6614e4380d5e2c8551eb7 Mon Sep 17 00:00:00 2001 From: Graham McIntie Date: Sun, 15 Feb 2026 15:23:32 -0600 Subject: [PATCH] Improve dashboard status bar mobile layout - Use 2-column grid on mobile, flex-wrap on sm+ - Hide pipe separators on mobile (they break when items wrap) - Stats now flow cleanly in a grid on small screens --- lib/towerops_web/live/dashboard_live.html.heex | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/towerops_web/live/dashboard_live.html.heex b/lib/towerops_web/live/dashboard_live.html.heex index a20253f9..9d28bce7 100644 --- a/lib/towerops_web/live/dashboard_live.html.heex +++ b/lib/towerops_web/live/dashboard_live.html.heex @@ -115,7 +115,7 @@ <%!-- ═══════════════════════════════════════════════ CONDENSED STATUS BAR — single dense line ═══════════════════════════════════════════════ --%> -
+
<%!-- Health --%>
- + <%!-- Uptime --%>
@@ -166,7 +166,7 @@ <% end %>
- + <%!-- Alerts --%> <.link @@ -190,7 +190,7 @@ <%= if @current_scope.organization.use_sites && @sites_count > 0 do %> - + <.link navigate={~p"/sites"} class="flex items-center gap-1.5 px-2.5 py-1.5 rounded hover:bg-gray-200/50 dark:hover:bg-white/5 transition" @@ -203,7 +203,7 @@ <% end %> <%= if @has_subscribers do %> - +
Subs @@ -217,7 +217,7 @@
<%= if mrr_at_risk_positive?(@impact_summary.mrr_at_risk) do %> - +
At Risk @@ -235,7 +235,7 @@ <% end %> <%!-- Insights count --%> - + <.link navigate={~p"/insights"} class="flex items-center gap-1.5 px-2.5 py-1.5 rounded hover:bg-gray-200/50 dark:hover:bg-white/5 transition"