From c7f5311c023481c8fd76bacb7ff45de11a96230b Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Tue, 18 Apr 2023 11:01:49 +0200 Subject: [PATCH] Fix chart width --- nummi/main/static/main/css/plot.css | 2 +- .../templates/main/table/transaction.html | 27 +++++++++---------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/nummi/main/static/main/css/plot.css b/nummi/main/static/main/css/plot.css index e956ef4..8271130 100644 --- a/nummi/main/static/main/css/plot.css +++ b/nummi/main/static/main/css/plot.css @@ -1,4 +1,4 @@ -col.bar {width: auto} +table.full-width col.bar {width: auto} .plot td.bar { position: relative; diff --git a/nummi/main/templates/main/table/transaction.html b/nummi/main/templates/main/table/transaction.html index 0f6a137..c21adbe 100644 --- a/nummi/main/templates/main/table/transaction.html +++ b/nummi/main/templates/main/table/transaction.html @@ -59,20 +59,19 @@ {% else %} – {% endif %} - - {% endif %} - {% if not account %} - - - - - {{ trans.account }} - - {% endif %} - - {% endfor %} - - + {% endif %} + {% if not account %} + + + + + {{ trans.account }} + + {% endif %} + + {% endfor %} + + {% comment %}