fix: use pixel bar heights and show avg rating values in trends chart

This commit is contained in:
2026-05-04 21:22:47 +02:00
parent 317898d51b
commit cf74b06b4a
3 changed files with 9 additions and 8 deletions

View File

@@ -81,7 +81,8 @@
<div class="bar-chart">
{% for row in monthly_rating_rows %}
<div class="bar-col">
<div class="bar-fill" style="height: {{ row.bar_height_pct }}%"></div>
<div class="bar-value">{{ "{:.1}"|format(row.rating.avg_rating) }}</div>
<div class="bar-fill" style="height: {{ row.bar_height_px }}px"></div>
<div class="bar-month">{{ row.rating.month_label }}</div>
</div>
{% endfor %}