Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@
## 2024-10-24 - CSS Bar Chart Animation
**Learning:** CSS animations can enhance static data visualizations without requiring JavaScript, providing visual polish and reducing perceived loading times for data.
**Action:** Use CSS keyframe animations for simple visual improvements in static reports.

## 2024-11-20 - HTML Report Tabular Numbers
**Learning:** Data-heavy reports with columns of numbers can be hard to read when numbers don't align perfectly vertically due to default proportional font spacing.
**Action:** Always include `font-variant-numeric: tabular-nums;` in body styles or data-heavy components within HTML reports to ensure numbers align properly vertically for improved readability and scanning.
1 change: 1 addition & 0 deletions python/fast_mlsirm/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ def _css() -> str:
color: var(--text);
font-family: Arial, Helvetica, sans-serif;
line-height: 1.5;
font-variant-numeric: tabular-nums;
}

.skip-link {
Expand Down
Loading