Skip to content

Commit a21be44

Browse files
committed
Update table
1 parent e2b79ae commit a21be44

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/webui/pages/sitepage.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,12 @@ export class SitePage extends Page<SitePageProps, SitePageState> {
160160

161161
renderHistoryTable() {
162162
return (
163-
<div class="SitePage__content__table">
163+
<div class="SitePage__content__table SitePage__content__table--bordered">
164164
<table>
165165
<thead>
166166
<tr>
167167
<th>Description</th>
168168
<th data-extra-small>Commit</th>
169-
<th>Modified</th>
170169
<th data-extra-small>Files</th>
171170
<th data-small>Links</th>
172171
</tr>
@@ -177,8 +176,11 @@ export class SitePage extends Page<SitePageProps, SitePageState> {
177176
<td>
178177
{manifest.commit ? (
179178
<div>
180-
{manifest.commit.message}{' '}
181-
<small>{manifest.commit.author.name}</small>
179+
<div>{manifest.commit.message}</div>
180+
<div>
181+
<b>{manifest.commit.author.name}</b> authored on
182+
{prettyDate(manifest.modified)}
183+
</div>
182184
</div>
183185
) : (
184186
<small>(unknown)</small>
@@ -187,7 +189,6 @@ export class SitePage extends Page<SitePageProps, SitePageState> {
187189
<td>
188190
<code>{manifest.ref.slice(0, 7)}</code>
189191
</td>
190-
<td>{prettyDate(manifest.modified)}</td>
191192
<td>{Object.keys(manifest.paths).length}</td>
192193
<td>
193194
<a

src/webui/sass/pages/_sitepage.sass

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
border-collapse: collapse
1818
width: 100%
1919

20+
.SitePage__content__table--borders table tbody tr
21+
border-bottom: 1px solid #E0E0E0
22+
2023
.SitePage__content__table table thead th
2124
background: #F5F5F5
2225
border-bottom: 1px solid #E0E0E0

0 commit comments

Comments
 (0)