Files
warpbox-dev/backend/libs/handlers/accounts_test.go
Daniel Legt c9f865cd85
All checks were successful
Build and Publish Docker Image / deploy (push) Successful in 1m40s
refactor(admin): use inline pixel heights for overview charts
Refactors the admin overview dashboard charts to use inline pixel heights (up to 150px) instead of CSS variables and percentage-based heights. This provides more robust rendering and layout control.

Changes include:
- Replacing `Height` with `HeightPx` in chart bar structures.
- Rendering inline styles for height and width on charts and status bars.
- Adding fallback data attributes (`data-height-px`, `data-chart-value`, etc.) and loading a new fallback script (`25-admin-charts.js`).
- Updating and expanding test coverage to assert correct scaling and HTML rendering.
2026-06-01 12:30:59 +03:00

54 KiB