Fix display issues on web instance
This commit is contained in:
@@ -620,7 +620,7 @@
|
|||||||
}
|
}
|
||||||
data.f.percentage = function (n, {rescale = true} = {}) {
|
data.f.percentage = function (n, {rescale = true} = {}) {
|
||||||
return `${(n*(rescale ? 100 : 1)).toFixed(2)
|
return `${(n*(rescale ? 100 : 1)).toFixed(2)
|
||||||
.replace(/(?<=[.])([1-9]*)(0+)$/, (m, a, b) => a)
|
.replace(/[.]([1-9]*)(0+)$/, (m, a, b) => `.${a}`)
|
||||||
.replace(/[.]$/, "")}%`
|
.replace(/[.]$/, "")}%`
|
||||||
}
|
}
|
||||||
data.f.ellipsis = function (text, {length = 20} = {}) {
|
data.f.ellipsis = function (text, {length = 20} = {}) {
|
||||||
|
|||||||
@@ -382,6 +382,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
min-height: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chart-bars.horizontal .entry .name {
|
.chart-bars.horizontal .entry .name {
|
||||||
|
|||||||
Reference in New Issue
Block a user