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:
parent
6409dd8908
commit
fff67cb4af
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "my-weekly-todo-list",
|
"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",
|
"description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -643,7 +643,7 @@ h3 {
|
|||||||
color: var(--weekly-date-color, var(--weekly-text-light));
|
color: var(--weekly-date-color, var(--weekly-text-light));
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.1em;
|
letter-spacing: 0.1em;
|
||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0;
|
||||||
font-family: var(--weekly-date-font, var(--weekly-font-headline)) !important;
|
font-family: var(--weekly-date-font, var(--weekly-font-headline)) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -6417,7 +6417,9 @@ export default function WeeklyView() {
|
|||||||
: activeDateLayout === "below"
|
: activeDateLayout === "below"
|
||||||
? "column"
|
? "column"
|
||||||
: "row",
|
: "row",
|
||||||
gap: profile.dateAlignment === "tight" ? "2px" : (profile.dayHeaderGap || "0.35em"),
|
gap: profile.dateAlignment === "tight" ? "2px"
|
||||||
|
: (activeDateLayout === "above" || activeDateLayout === "below") ? "0px"
|
||||||
|
: (profile.dayHeaderGap || "0.35em"),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{(() => {
|
{(() => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user