From 0ad27f430dd8cd0dad17ffbce7add868b3deb3b6 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Mon, 7 Nov 2022 22:34:42 +0100 Subject: [PATCH] Fix width of index table --- src/http/static/mediocre.css | 9 +++++---- src/http/tpl/index.html | 4 +++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/http/static/mediocre.css b/src/http/static/mediocre.css index 26dee81..f065802 100644 --- a/src/http/static/mediocre.css +++ b/src/http/static/mediocre.css @@ -63,6 +63,11 @@ table { font-size: 0.8rem; } +/* Undo the coloring that new.css does */ +table tr:nth-child(even) { + background-color: initial; +} + table td { border: 0; margin: 0; @@ -73,7 +78,3 @@ table td input { margin: 0; width: 100%; } - -table tr:nth-child(even) { - background-color: initial; -} diff --git a/src/http/tpl/index.html b/src/http/tpl/index.html index ce5f264..8c0f12d 100644 --- a/src/http/tpl/index.html +++ b/src/http/tpl/index.html @@ -14,7 +14,9 @@ - + + + {{ range .Payload.Posts }}