mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 01:29:48 +00:00
web: update timestamp column style, fix #4092
This commit is contained in:
parent
8b6345e4a7
commit
0ad4a5983e
@ -152,10 +152,10 @@
|
||||
}
|
||||
|
||||
.col-timestamp {
|
||||
width: auto;
|
||||
width: 170px;
|
||||
}
|
||||
|
||||
td.col-time, td.col-size {
|
||||
td.col-time, td.col-size, td.col-timestamp {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
@ -278,7 +278,7 @@ exports[`should render columns: timestamp 1`] = `
|
||||
<tbody>
|
||||
<tr>
|
||||
<td
|
||||
class="col-start"
|
||||
class="col-timestamp"
|
||||
>
|
||||
1999-12-31 23:00:00.000
|
||||
</td>
|
||||
|
@ -169,7 +169,7 @@ time.sortKey = flow => {
|
||||
export const timestamp: FlowColumn = ({flow}) => {
|
||||
const start = startTime(flow);
|
||||
return (
|
||||
<td className="col-start">
|
||||
<td className="col-timestamp">
|
||||
{start ? (
|
||||
formatTimeStamp(start)
|
||||
) : (
|
||||
|
Loading…
Reference in New Issue
Block a user