diff --git a/README.md b/README.md index 5a26a22..ab2b82a 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ more. - **Fonts:** the web theme uses the system sans stack; Monocraft (self-hosted in `public/`) is used by the desktop theme's SMP menu and the in-desktop terminal. - **Images:** `next/image` -- **Version:** `2.2.1` (see `package.json`) +- **Version:** `2.2.2` (see `package.json`) ## 🚀 Running Locally diff --git a/agents.md b/agents.md index 57b9673..57f9664 100644 --- a/agents.md +++ b/agents.md @@ -43,7 +43,7 @@ frosted-glass **web** site, and an alternate KDE/Plasma **desktop simulation** utilities in the components (Tailwind is present via PostCSS but the look is hand-written CSS). - Path alias: `@/*` → `src/*`. -- Version: `2.2.1` (see `package.json`). +- Version: `2.2.2` (see `package.json`). ### Scripts ```bash @@ -167,6 +167,10 @@ Themes: `web` = default frosted-glass website (sidebar + content, light/dark), - The desktop switch (`.web-ctl-desktop`) is hidden on phones: under the `max-width: 960px` breakpoint and under `(hover: none) and (pointer: coarse)`. There is no device sniff anymore — phones just get the responsive web shell. +- Under `max-width: 640px` the year-grid heatmap (`.heatmap-container`) and its + legend/hover row (`.heatmap-status-row`) are `display: none` — the grid is + unreadable at phone widths. The contribution total and the commit history + still render, so the activity section keeps its substance on phones. --- diff --git a/package-lock.json b/package-lock.json index 0aa829f..c6bf0ea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dvorakmortonxd", - "version": "2.2.1", + "version": "2.2.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dvorakmortonxd", - "version": "2.2.1", + "version": "2.2.2", "dependencies": { "next": "^16.3.5", "react": "^19.3.0", diff --git a/package.json b/package.json index 4785219..c26a7f1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dvorakmortonxd", - "version": "2.2.1", + "version": "2.2.2", "private": true, "scripts": { "dev": "node scripts/dev-server.mjs", diff --git a/src/app/components/WebLayout.tsx b/src/app/components/WebLayout.tsx index 8e0997b..8b2ce0e 100644 --- a/src/app/components/WebLayout.tsx +++ b/src/app/components/WebLayout.tsx @@ -365,7 +365,7 @@ export default function WebLayout() { diff --git a/src/app/web.css b/src/app/web.css index b044be4..0760985 100644 --- a/src/app/web.css +++ b/src/app/web.css @@ -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; } }