diff --git a/nummi/main/static/main/css/main.css b/nummi/main/static/main/css/main.css index ab488e9..671d522 100644 --- a/nummi/main/static/main/css/main.css +++ b/nummi/main/static/main/css/main.css @@ -36,7 +36,7 @@ --border: .5em; --radius: .25em; - --num: "tnum", "ss01", "case"; + --num: "tnum", "ss01", "ss02", "case"; } body { diff --git a/nummi/main/static/main/css/plot.css b/nummi/main/static/main/css/plot.css index d43bfa2..6754896 100644 --- a/nummi/main/static/main/css/plot.css +++ b/nummi/main/static/main/css/plot.css @@ -32,8 +32,10 @@ .plot td.m { text-align: right; } +.plot tbody th { + font-feature-settings: var(--num); +} .plot td.value { - padding: 0 var(--gap); font-feature-settings: var(--num); text-align: right; } diff --git a/nummi/main/templates/main/plot/history.html b/nummi/main/templates/main/plot/history.html index 2ca1511..6670b59 100644 --- a/nummi/main/templates/main/plot/history.html +++ b/nummi/main/templates/main/plot/history.html @@ -13,7 +13,7 @@ {% spaceless %} {% for date in history.data %} - {{ date.month|date:"M y" }} + {{ date.month|date:"Y-m" }} {{ date.sum_m|pmrvalue }}