web theme: hide the year-grid heatmap on phones, keep the contribution total + commit history
This commit is contained in:
parent
cd094f0173
commit
ad0d476a4d
6 changed files with 14 additions and 8 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue