diff --git a/source/app/web/statics/app.placeholder.js b/source/app/web/statics/app.placeholder.js index 5abf3ae4..dfab13a2 100644 --- a/source/app/web/statics/app.placeholder.js +++ b/source/app/web/statics/app.placeholder.js @@ -620,7 +620,7 @@ } data.f.percentage = function (n, {rescale = true} = {}) { return `${(n*(rescale ? 100 : 1)).toFixed(2) - .replace(/(?<=[.])([1-9]*)(0+)$/, (m, a, b) => a) + .replace(/[.]([1-9]*)(0+)$/, (m, a, b) => `.${a}`) .replace(/[.]$/, "")}%` } data.f.ellipsis = function (text, {length = 20} = {}) { diff --git a/source/templates/classic/style.css b/source/templates/classic/style.css index be74c297..2bd3e624 100644 --- a/source/templates/classic/style.css +++ b/source/templates/classic/style.css @@ -382,6 +382,7 @@ align-items: center; flex-direction: row; width: 100%; + min-height: 1rem; } .chart-bars.horizontal .entry .name {