From fff67cb4af29e4235056a0b7e242440e39752854 Mon Sep 17 00:00:00 2001 From: mARTin Date: Sun, 15 Mar 2026 09:27:29 +0100 Subject: [PATCH] fix: tighten date-weekday gap in above/below layout Set flex gap to 0px for column layouts (above/below) so the date sits closer to the weekday. Remove default margin-bottom from .weekly-day-date CSS to prevent extra spacing. v1.34.5 Co-Authored-By: Claude Opus 4.6 --- package.json | 2 +- src/app/globals.css | 2 +- src/components/WeeklyView.tsx | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index bb350e6..f234009 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.34.4", + "version": "1.34.5", "description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view", "main": "index.js", "scripts": { diff --git a/src/app/globals.css b/src/app/globals.css index 7563c3f..8b37b7b 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -643,7 +643,7 @@ h3 { color: var(--weekly-date-color, var(--weekly-text-light)); text-transform: uppercase; letter-spacing: 0.1em; - margin-bottom: 0.25rem; + margin-bottom: 0; font-family: var(--weekly-date-font, var(--weekly-font-headline)) !important; } diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index d424751..82673a1 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -6417,7 +6417,9 @@ export default function WeeklyView() { : activeDateLayout === "below" ? "column" : "row", - gap: profile.dateAlignment === "tight" ? "2px" : (profile.dayHeaderGap || "0.35em"), + gap: profile.dateAlignment === "tight" ? "2px" + : (activeDateLayout === "above" || activeDateLayout === "below") ? "0px" + : (profile.dayHeaderGap || "0.35em"), }} > {(() => {