From 10aa9aabb5f21ef069da2983ee640723a2b030a3 Mon Sep 17 00:00:00 2001 From: mARTin Date: Sun, 8 Mar 2026 10:41:53 +0100 Subject: [PATCH] feat: added Date Vertical Alignment setting and updated version to v1.17.0 --- src/components/WeeklyView.tsx | 51 ++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index 29b25c4..c585201 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -279,6 +279,11 @@ const translations: Record = { allDayBelow: "Below", newPasswordDesc: "Leave blank to keep current password.", dateAlignment: "Date Alignment", + dateVerticalAlign: "Date Vertical Alignment", + alignTop: "Top", + alignMiddle: "Middle", + alignBottom: "Bottom", + dateLayout: "Date Layout", alignmentLeft: "Left", alignmentCenter: "Center", alignmentRight: "Right", @@ -374,6 +379,11 @@ const translations: Record = { allDayBelow: "Unten", newPasswordDesc: "Leer lassen, um das aktuelle Passwort zu behalten.", dateAlignment: "Datums-Ausrichtung", + dateVerticalAlign: "Datums-Vertikalausrichtung", + alignTop: "Oben", + alignMiddle: "Mitte", + alignBottom: "Unten", + dateLayout: "Datumslayout", alignmentLeft: "Links", alignmentCenter: "Mitte", alignmentRight: "Rechts", @@ -4890,7 +4900,7 @@ export default function WeeklyView() { activeDateLayout === "above" || activeDateLayout === "below" ? (profile.dateAlignment === "left" ? "flex-start" : profile.dateAlignment === "right" ? "flex-end" : "center") - : "center", + : (profile.dateVerticalAlign === "top" ? "flex-start" : profile.dateVerticalAlign === "bottom" ? "flex-end" : "center"), justifyContent: profile.dateAlignment === "left" ? "flex-start" @@ -10248,6 +10258,45 @@ function SettingsSidebar({ +
+ + +
{/* Day Names */}