Skip to content

Commit acff1f4

Browse files
wesmclaude
andcommitted
Reduce hour-of-week heatmap cell size by 20%
CELL_SIZE 21->17, CELL_GAP 3->2, ROW_LABEL_WIDTH 36->29, COL_LABEL_HEIGHT 22->18. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 746ff1d commit acff1f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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 = 21;
5-
const CELL_GAP = 3;
4+
const CELL_SIZE = 17;
5+
const CELL_GAP = 2;
66
const CELL_STEP = CELL_SIZE + CELL_GAP;
7-
const ROW_LABEL_WIDTH = 36;
8-
const COL_LABEL_HEIGHT = 22;
7+
const ROW_LABEL_WIDTH = 29;
8+
const COL_LABEL_HEIGHT = 18;
99
const DAY_LABELS = [
1010
"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun",
1111
];

0 commit comments

Comments
 (0)