diff --git a/srv/src/http/static/mediocre.css b/srv/src/http/static/mediocre.css index d6e2905..7b9d784 100644 --- a/srv/src/http/static/mediocre.css +++ b/srv/src/http/static/mediocre.css @@ -36,6 +36,7 @@ h1, h2, h3, h4, h5, h6, .button-primary, .button, header, footer { h1, h2, h3 { border-bottom: 0; + margin-bottom: 1rem; } h1 a, @@ -58,6 +59,18 @@ hr { opacity: 25%; } +table td { + border: 0; +} + +table tr { + border-bottom: 1px dashed var(--nc-tx-1); +} + +table tr:nth-child(1) { + border-top: 1px dashed var(--nc-tx-1); +} + table td form, table td input { margin: 0; diff --git a/srv/src/http/tpl/edit-post.html b/srv/src/http/tpl/edit-post.html index 9376f2e..5db0600 100644 --- a/srv/src/http/tpl/edit-post.html +++ b/srv/src/http/tpl/edit-post.html @@ -1,16 +1,5 @@ {{ define "body" }} -{{ if gt (len .Payload.Tags) 0 }} -
- Existing tags: - - {{ range $i, $tag := .Payload.Tags }} - {{ if ne $i 0 }} {{ end }}{{ $tag }} - {{ end }} - -
-{{ end }} -