From eb5065131a543d40c483d6a8127042bc49b0dec2 Mon Sep 17 00:00:00 2001 From: mARTin Date: Mon, 23 Feb 2026 22:00:04 +0100 Subject: [PATCH] fix: remove grid task resize handle, improve hover menu visibility, and fix motivation settings tab - Removed bottom-center resize handle from GridTaskBlock - Ensured hover menu is always visible and unclipped for all task heights - Widened settings sidebar to 480px for better tab spacing - Fixed conditional rendering of quote settings in WeeklyView --- src/app/globals.css | 13 ++----------- src/components/GridTaskBlock.tsx | 24 ++---------------------- src/components/WeeklyView.tsx | 2 +- 3 files changed, 5 insertions(+), 34 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index c708d6c..90ef1fb 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -2670,8 +2670,8 @@ h3 { .weekly-settings-sidebar { position: fixed; top: 0; - right: 0; - width: 500px; + right: -480px; + width: 480px; max-width: 90vw; height: 100vh; background: white; @@ -2938,14 +2938,5 @@ h3 { } -/* Grid Task Block Resize Handle */ -.time-slot-task .task-resize-handle { - opacity: 0; - transition: opacity 0.2s ease; -} -.time-slot-task:hover .task-resize-handle, -.time-slot-task .task-resize-handle.active { - opacity: 1; -} diff --git a/src/components/GridTaskBlock.tsx b/src/components/GridTaskBlock.tsx index 9085e2b..3d9bc61 100644 --- a/src/components/GridTaskBlock.tsx +++ b/src/components/GridTaskBlock.tsx @@ -180,7 +180,7 @@ export function GridTaskBlock({ boxShadow: (isNotesOpen || isSubTasksOpen || isResizing) ? "0 1px 3px rgba(0,0,0,0.05)" : "none", display: "flex", flexDirection: "column", - overflow: "visible", + overflow: "visible !important", }} draggable={!editingTaskId && !isResizing} onDragStart={(e) => handleDragStart(e, task)} @@ -269,7 +269,7 @@ export function GridTaskBlock({ )} - {(currentHeight >= 30 || isNotesOpen || isSubTasksOpen) && ( + {(true) && (
)}
- - {/* Resize Handle at Bottom */} -
-
-
); } diff --git a/src/components/WeeklyView.tsx b/src/components/WeeklyView.tsx index 2c83184..c795092 100644 --- a/src/components/WeeklyView.tsx +++ b/src/components/WeeklyView.tsx @@ -9111,7 +9111,7 @@ function SettingsSidebar({ - {profile.goalFallbackType === "quote" && ( + {(!profile.goalFallbackType || profile.goalFallbackType === "quote") && (