diff --git a/package.json b/package.json index 266dcdc..a5da876 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-weekly-todo-list", - "version": "1.73.2", + "version": "1.73.3", "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/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index 48a5dbe..3a06ab2 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -7627,12 +7627,14 @@ export default function WeeklyView() { data-slide-direction={slideDirection} data-nav-type={viewDays > 1 ? "week" : "day"} onScroll={handleGridScroll} - style={{ + style={showTimeGrid ? { height: `${24 * (60 / effectiveCellDuration) * getSlotHeight(effectiveCellDuration) + getHeaderHeight(effectiveCellDuration)}px`, maxHeight: `${24 * (60 / effectiveCellDuration) * getSlotHeight(effectiveCellDuration) + getHeaderHeight(effectiveCellDuration)}px`, flex: 1, alignSelf: "flex-start", overflowY: 'auto' + } : { + flex: 1, }} > {getVisibleDays().map((date, colIndex) => { @@ -9973,17 +9975,17 @@ export default function WeeklyView() {
{language === "de" ? "Termin" : "Event"} + - )}