assessmentsAverage: Minor WEIGHT label styling fixes

This commit is contained in:
Jaxon Lewis-Wilson
2026-04-27 00:28:51 +08:00
parent 01cd5d1428
commit f7d9199500
@@ -114,16 +114,13 @@ function createWeightLabel(
: "N/A";
}
// Stack weight under Max/native stats — absolute right:0 overlapped the max column (#414).
statsContainer.style.display = "flex";
statsContainer.style.flexDirection = "column";
statsContainer.style.alignItems = "flex-end";
statsContainer.style.gap = "2px";
statsContainer.style.justifyContent = "center";
statsContainer.style.alignItems = "center";
statsContainer.style.justifyContent = "space-between";
statsContainer.style.width = "100%";
weightLabel.style.position = "relative";
weightLabel.style.inset = "unset";
weightLabel.style.transform = "none";
weightLabel.style.flex = "none";
weightLabel.style.width = "fit-content";
statsContainer.appendChild(weightLabel);
}