Commit 29c31a5aedbf8d1b3fb11de2509e4ad916279777

Thomas de Grivel 2022-01-18T10:38:55

reduce stats table on front page

diff --git a/lib/kmxgit_web/templates/page/index.html.heex b/lib/kmxgit_web/templates/page/index.html.heex
index facd597..14a0ccc 100644
--- a/lib/kmxgit_web/templates/page/index.html.heex
+++ b/lib/kmxgit_web/templates/page/index.html.heex
@@ -18,10 +18,15 @@
 
   <h3><%= gettext("Stats") %></h3>
 
-  <table class="table">
-    <tr>
-      <th><%= gettext "Disk usage" %></th>
-      <td><%= disk_usage(@disk_usage) %></td>
-    </tr>
-  </table>
+  <div class="row">
+    <div class="col col-12 col-md-5">
+      <table class="table">
+        <tr>
+          <th><%= gettext "Disk usage" %></th>
+          <td><%= disk_usage(@disk_usage) %></td>
+        </tr>
+      </table>
+    </div>
+  </div>
 </div>
+