improve how index table looks

main
Brian Picciano 2 years ago
parent 062e5bbd10
commit f7b4fd644b
  1. 13
      srv/src/http/static/mediocre.css
  2. 5
      srv/src/http/tpl/index.html

@ -59,16 +59,13 @@ hr {
opacity: 25%; opacity: 25%;
} }
table td { table {
border: 0; font-size: 0.8rem;
}
table tr {
border-bottom: 1px dashed var(--nc-tx-1);
} }
table tr:nth-child(1) { table td {
border-top: 1px dashed var(--nc-tx-1); border: 0;
margin: 0;
} }
table td form, table td form,

@ -12,6 +12,11 @@
{{ end }} {{ end }}
<table> <table>
<colgroup>
<col span="1" style="width: 5rem;">
</colgroup>
{{ range .Payload.Posts }} {{ range .Payload.Posts }}
<tr> <tr>
<td>{{ DateTimeFormat .PublishedAt }}</td> <td>{{ DateTimeFormat .PublishedAt }}</td>

Loading…
Cancel
Save