fix: use baseline alignment for date vertical "bottom" option
Change "bottom" date vertical alignment from flex-end to baseline so the date aligns to the weekday text baseline instead of the container edge, giving a more natural and subtle positioning. v1.34.2 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e9a4a0b216
commit
a66f2c0bb4
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "my-weekly-todo-list",
|
"name": "my-weekly-todo-list",
|
||||||
"version": "1.34.1",
|
"version": "1.34.2",
|
||||||
"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": {
|
||||||
|
|||||||
@ -6404,7 +6404,7 @@ export default function WeeklyView() {
|
|||||||
activeDateLayout === "above" ||
|
activeDateLayout === "above" ||
|
||||||
activeDateLayout === "below"
|
activeDateLayout === "below"
|
||||||
? (profile.dateAlignment === "left" ? "flex-start" : profile.dateAlignment === "right" ? "flex-end" : "center")
|
? (profile.dateAlignment === "left" ? "flex-start" : profile.dateAlignment === "right" ? "flex-end" : "center")
|
||||||
: (profile.dateVerticalAlign === "top" ? "flex-start" : profile.dateVerticalAlign === "bottom" ? "flex-end" : "center"),
|
: (profile.dateVerticalAlign === "top" ? "flex-start" : profile.dateVerticalAlign === "bottom" ? "baseline" : "center"),
|
||||||
justifyContent:
|
justifyContent:
|
||||||
profile.dateAlignment === "left"
|
profile.dateAlignment === "left"
|
||||||
? "flex-start"
|
? "flex-start"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user