aboutsummaryrefslogtreecommitdiff
path: root/static/archive.html
diff options
context:
space:
mode:
authorFChannel <>2021-08-01 18:35:00 -0700
committerFChannel <>2021-08-01 18:35:00 -0700
commit4450e8da252137b68f067dbc9cfaa5745a8804c5 (patch)
tree0759a113986b9adddbe4b1cab6e98a50cf5e13ef /static/archive.html
parentca7a516f878bba8ab62ffda596ba603b26250917 (diff)
fix inactive instance check and archive bug
Diffstat (limited to 'static/archive.html')
-rw-r--r--static/archive.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/static/archive.html b/static/archive.html
index aa37c94..b08693a 100644
--- a/static/archive.html
+++ b/static/archive.html
@@ -37,14 +37,14 @@
</ul>
<hr>
-<table align="center" style="width: 900px;">
+<table align="center" style="table-layout:fixed; width:90%;">
<tr>
{{ if eq $board.ModCred $board.Domain $board.Actor.Id }}
- <td></td>
+ <th style="width: 45px;"></th>
{{ end }}
- <th style="width: 100px">No.</th>
+ <th style="width: 110px">No.</th>
<th>Excerpt</th>
- <th style="width: 100px;"></th>
+ <th style="width: 60px;"></th>
</tr>
{{ range $i, $e := .Posts }}
{{ if mod $i 2 }}
@@ -53,7 +53,7 @@
<td><a href="/poparchive?id={{ $e.Id }}&board={{ $board.Name }}">[Pop]</a></td>
{{ end }}
<td>{{ short $board.Actor.Outbox $e.Id }}</td>
- <td>{{ shortExcerpt $e }}</td>
+ <td style="overflow: hidden; word-wrap: break-word; text-overflow: ellipsis;">{{ shortExcerpt $e }}</td>
<td style="text-align: center;"><a href="/{{ $board.Actor.Name }}/{{ short $board.Actor.Outbox $e.Id }}">[View]</a></td>
</tr>
{{ else }}
@@ -62,7 +62,7 @@
<td><a href="/poparchive?id={{ $e.Id }}">[Pop]</a></td>
{{ end }}
<td>{{ short $board.Actor.Outbox $e.Id }}</td>
- <td>{{ shortExcerpt $e }}</td>
+ <td style="overflow: hidden; word-wrap: break-word; text-overflow: ellipsis;">{{ shortExcerpt $e }}</td>
<td style="text-align: center;"><a href="/{{ $board.Actor.Name }}/{{ short $board.Actor.Outbox $e.Id }}">[View]</a></td>
</tr>
{{ end }}