Skip to content

Commit 6e64e64

Browse files
wesmclaude
andcommitted
fix: increase heatmap cell sizes for readability
Activity calendar: 13px → 16px cells (+20%). Hour-of-week grid: 14px → 21px cells (+50%), gap 2→3px. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8bfd2e5 commit 6e64e64

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

frontend/src/lib/components/analytics/Heatmap.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<script lang="ts">
22
import { analytics } from "../../stores/analytics.svelte.js";
33
4-
const CELL_SIZE = 13;
4+
const CELL_SIZE = 16;
55
const CELL_GAP = 2;
66
const CELL_STEP = CELL_SIZE + CELL_GAP;
7-
const LABEL_WIDTH = 32;
7+
const LABEL_WIDTH = 36;
88
const HEADER_HEIGHT = 16;
99
const DAY_LABELS = ["", "Mon", "", "Wed", "", "Fri", ""];
1010

frontend/src/lib/components/analytics/HourOfWeekHeatmap.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<script lang="ts">
22
import { analytics } from "../../stores/analytics.svelte.js";
33
4-
const CELL_SIZE = 14;
5-
const CELL_GAP = 2;
4+
const CELL_SIZE = 21;
5+
const CELL_GAP = 3;
66
const CELL_STEP = CELL_SIZE + CELL_GAP;
7-
const ROW_LABEL_WIDTH = 32;
8-
const COL_LABEL_HEIGHT = 18;
7+
const ROW_LABEL_WIDTH = 36;
8+
const COL_LABEL_HEIGHT = 22;
99
const DAY_LABELS = [
1010
"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun",
1111
];

0 commit comments

Comments
 (0)