Skip to content

Commit

Permalink
Merge pull request #1114 from locustio/table-layout-fix
Browse files Browse the repository at this point in the history
Table layout fix to use available space better
  • Loading branch information
heyman authored Oct 21, 2019
2 parents 8f8b925 + e816fa0 commit e598724
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions locust/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,9 @@ a:hover {
.status th.numeric {
text-align: right;
}
.status th.nowrap {
white-space: nowrap;
}
.status tr.dark {
background:#153126;
}
Expand Down Expand Up @@ -317,10 +320,6 @@ a:hover {
}
}

#stats {
table-layout: fixed;
}

#stats td {
word-wrap: break-word;
}
Expand Down
4 changes: 2 additions & 2 deletions locust/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ <h2>Change the locust count</h2>
<tr>
<th class="stats_label" href="#" data-sortkey="method">Type</th>
<th class="stats_label" href="#" data-sortkey="name">Name</th>
<th class="stats_label numeric" href="#" data-sortkey="num_requests" title="Number of successful requests"># Requests</th>
<th class="stats_label numeric" href="#" data-sortkey="num_failures" title="Number of failures"># Fails</th>
<th class="stats_label numeric nowrap" href="#" data-sortkey="num_requests" title="Number of successful requests"># Requests</th>
<th class="stats_label numeric nowrap" href="#" data-sortkey="num_failures" title="Number of failures"># Fails</th>
<th class="stats_label numeric" href="#" data-sortkey="median_response_time" title="Median response time">Median (ms)</th>
<th class="stats_label numeric" href="#" data-sortkey="avg_response_time" title="Average response time">Average (ms)</th>
<th class="stats_label numeric" href="#" data-sortkey="min_response_time" title="Min response time">Min (ms)</th>
Expand Down

0 comments on commit e598724

Please sign in to comment.