web theme: hide the year-grid heatmap on phones, keep the contribution total + commit history

This commit is contained in:
Martin Dvořák 2026-09-30 12:36:55 +00:00
commit ad0d476a4d
6 changed files with 14 additions and 8 deletions

View file

@ -365,7 +365,7 @@ export default function WebLayout() {
</Section>
<footer className="web-footer glass">
<span className="web-footer-label">v2.2.1</span>
<span className="web-footer-label">v2.2.2</span>
© 2025-2026 Martin Dvořák. All rights reserved (not really I dont care, just
follow the GPL3.0 License)
</footer>

View file

@ -1130,9 +1130,11 @@ html[data-theme="web"][data-scheme="dark"] .heatmap-legend-cell[data-level="4"]
.gym-weight {
font-size: 1.05rem;
}
/* Phones drop the year-grid heatmap (it's unreadable that small); the total
and the commit history stay. */
.heatmap-container,
.heatmap-status-row {
flex-direction: column;
align-items: flex-start;
display: none;
}
}