From e816fa03936868a3530a044a957165c38293b541 Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Mon, 21 Oct 2019 21:45:11 +0200 Subject: [PATCH] Remove table-layout:fixed CSS property from stats table, which makes the table layout use the available space better --- locust/static/style.css | 7 +++---- locust/templates/index.html | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/locust/static/style.css b/locust/static/style.css index d51f417419..2d7d2f4073 100644 --- a/locust/static/style.css +++ b/locust/static/style.css @@ -290,6 +290,9 @@ a:hover { .status th.numeric { text-align: right; } +.status th.nowrap { + white-space: nowrap; +} .status tr.dark { background:#153126; } @@ -317,10 +320,6 @@ a:hover { } } -#stats { - table-layout: fixed; -} - #stats td { word-wrap: break-word; } diff --git a/locust/templates/index.html b/locust/templates/index.html index 362ec16f56..463bc9c387 100644 --- a/locust/templates/index.html +++ b/locust/templates/index.html @@ -104,8 +104,8 @@

Change the locust count

Type Name - # Requests - # Fails + # Requests + # Fails Median (ms) Average (ms) Min (ms)