diff --git a/apps/ui/templates/garage.html b/apps/ui/templates/garage.html index d046197..49bdccf 100644 --- a/apps/ui/templates/garage.html +++ b/apps/ui/templates/garage.html @@ -195,28 +195,13 @@ .phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); - gap: 16px; - margin-top: 16px; - } - - @media (max-width: 600px) { - .phase-grid { - grid-template-columns: 1fr; - } - } - - .phase-section { - background: white; - border-radius: 8px; - padding: 16px; - text-align: center; + gap: 20px; } .phase-section h4 { - font-size: 14px; - font-weight: 600; color: #333; - margin: 0 0 12px 0; + margin-bottom: 12px; + text-align: center; } .phase-values { @@ -227,20 +212,26 @@ .phase-value { display: flex; - align-items: baseline; - justify-content: center; - gap: 4px; + justify-content: space-between; + padding: 8px 12px; + background: rgba(102, 126, 234, 0.1); + border-radius: 8px; } .phase-value .value { - font-size: 18px; font-weight: 600; color: #667eea; } .phase-value .unit { - font-size: 14px; color: #666; + font-size: 14px; + } + + @media (max-width: 768px) { + .phase-grid { + grid-template-columns: 1fr; + } } .loading { @@ -453,11 +444,11 @@ function renderThreePhasePowerDisplay(container, device) { const state = deviceStates[device.device_id] || {}; - // Overview card - const overviewCard = document.createElement('div'); - overviewCard.className = 'card'; - overviewCard.innerHTML = '