BareGit

Fix desc height

Author: MetroWind <chris.corsair@gmail.com>
Date: Sun Sep 20 18:19:21 2026 -0700
Commit: 7dd0c063fa6c6dd8c8a6c6a34ad19b954149b133

Changes

diff --git a/static/index.html b/static/index.html
index 19c05ff..5af04a2 100644
--- a/static/index.html
+++ b/static/index.html
@@ -33,9 +33,11 @@
                 {% endif %}
               </span>
             </div>
+            <p class="service-desc">
             {% if service.has_description %}
-            <p>{{ service.description }}</p>
+              {{ service.description }}
             {% endif %}
+            </p>
             <div class="service-history" role="group"
                  aria-label="Last {{ service.history_hours }} hours of status"
                  title="Oldest hour on the left; current hour on the right">
diff --git a/static/style.css b/static/style.css
index 78adc8f..44290c9 100644
--- a/static/style.css
+++ b/static/style.css
@@ -149,6 +149,13 @@ h2
     background: var(--color-na);
 }
 
+/* Make sure the description has a height. */
+.service-desc
+{
+    box-sizing: content-box;
+    height: 1em;
+}
+
 .service-history
 {
     display: flex;