web: update timestamp column style, fix #4092

This commit is contained in:
Maximilian Hils 2021-10-18 15:11:51 +02:00
parent 8b6345e4a7
commit 0ad4a5983e
3 changed files with 4 additions and 4 deletions

View File

@ -152,10 +152,10 @@
} }
.col-timestamp { .col-timestamp {
width: auto; width: 170px;
} }
td.col-time, td.col-size { td.col-time, td.col-size, td.col-timestamp {
text-align: right; text-align: right;
} }

View File

@ -278,7 +278,7 @@ exports[`should render columns: timestamp 1`] = `
<tbody> <tbody>
<tr> <tr>
<td <td
class="col-start" class="col-timestamp"
> >
1999-12-31 23:00:00.000 1999-12-31 23:00:00.000
</td> </td>

View File

@ -169,7 +169,7 @@ time.sortKey = flow => {
export const timestamp: FlowColumn = ({flow}) => { export const timestamp: FlowColumn = ({flow}) => {
const start = startTime(flow); const start = startTime(flow);
return ( return (
<td className="col-start"> <td className="col-timestamp">
{start ? ( {start ? (
formatTimeStamp(start) formatTimeStamp(start)
) : ( ) : (