From 38882eae55456ec5b24edc53364383717f237e5a Mon Sep 17 00:00:00 2001 From: Brian Ward Date: Mon, 5 Aug 2024 20:43:00 +0000 Subject: [PATCH] Improve formatting of draws table --- gui/src/app/SamplerOutputView/SamplerOutputView.tsx | 2 +- gui/src/draws-table.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/src/app/SamplerOutputView/SamplerOutputView.tsx b/gui/src/app/SamplerOutputView/SamplerOutputView.tsx index ff26ce67..5e12534d 100644 --- a/gui/src/app/SamplerOutputView/SamplerOutputView.tsx +++ b/gui/src/app/SamplerOutputView/SamplerOutputView.tsx @@ -174,7 +174,7 @@ const DrawsView: FunctionComponent = ({ {drawChainIds[i]} {drawNumbers[i]} {draws.map((draw, j) => ( - {draw[i]} + {draw[i].toPrecision(6)} ))} ))} diff --git a/gui/src/draws-table.css b/gui/src/draws-table.css index b04a7de0..cf794c18 100644 --- a/gui/src/draws-table.css +++ b/gui/src/draws-table.css @@ -22,6 +22,7 @@ .draws-table th, .draws-table td { padding: 2px 2px; + white-space: nowrap; } .draws-table tbody tr {