feat: improve help view
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 1m24s
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 1m24s
This commit is contained in:
@ -52,7 +52,7 @@ body {
|
||||
/* Secondary color */
|
||||
--secondary-color: #6c757d;
|
||||
|
||||
--layer-0: var(--neutral-900);
|
||||
--layer-0: var(--neutral-800);
|
||||
--layer-1: var(--neutral-500);
|
||||
--layer-2: var(--neutral-400);
|
||||
--layer-3: var(--neutral-200);
|
||||
|
@ -8,6 +8,13 @@
|
||||
export let max = 1;
|
||||
export let id = "";
|
||||
|
||||
if (min > max) {
|
||||
[min, max] = [max, min];
|
||||
}
|
||||
if (value > max) {
|
||||
max = value;
|
||||
}
|
||||
|
||||
function strip(input: number) {
|
||||
return +parseFloat(input + "").toPrecision(2);
|
||||
}
|
||||
|
Reference in New Issue
Block a user