diff options
Diffstat (limited to 'static/archive.html')
-rw-r--r-- | static/archive.html | 12 |
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 }} |