Skip to content

Commit 0ad4a59

Browse files
committed
web: update timestamp column style, fix mitmproxy#4092
1 parent 8b6345e commit 0ad4a59

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

web/src/css/flowtable.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@
152152
}
153153

154154
.col-timestamp {
155-
width: auto;
155+
width: 170px;
156156
}
157157

158-
td.col-time, td.col-size {
158+
td.col-time, td.col-size, td.col-timestamp {
159159
text-align: right;
160160
}
161161

web/src/js/__tests__/components/FlowTable/__snapshots__/FlowColumnsSpec.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ exports[`should render columns: timestamp 1`] = `
278278
<tbody>
279279
<tr>
280280
<td
281-
class="col-start"
281+
class="col-timestamp"
282282
>
283283
1999-12-31 23:00:00.000
284284
</td>

web/src/js/components/FlowTable/FlowColumns.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ time.sortKey = flow => {
169169
export const timestamp: FlowColumn = ({flow}) => {
170170
const start = startTime(flow);
171171
return (
172-
<td className="col-start">
172+
<td className="col-timestamp">
173173
{start ? (
174174
formatTimeStamp(start)
175175
) : (

0 commit comments

Comments
 (0)