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 <noreply@anthropic.com>
This commit is contained in:
mARTin 2026-03-15 09:27:29 +01:00
parent 6409dd8908
commit fff67cb4af
3 changed files with 5 additions and 3 deletions

View File

@ -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": {

View File

@ -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;
}

View File

@ -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"),
}}
>
{(() => {