diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-11-07 22:34:42 +0100 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-11-07 22:34:42 +0100 |
commit | 0ad27f430dd8cd0dad17ffbce7add868b3deb3b6 (patch) | |
tree | a2825ddab2acabea03abd18bcbb5daa931dae550 | |
parent | d9570411134273d690e783748dd572696fc14c6f (diff) |
Fix width of index table
-rw-r--r-- | src/http/static/mediocre.css | 9 | ||||
-rw-r--r-- | 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 @@ <table> <colgroup> - <col span="1" style="width: 5rem;"> + <col span="1" style="width: 6rem;"> + <col span="1"> + <col span="1" style="width: 50%;"> </colgroup> {{ range .Payload.Posts }} |