From 088ad8760b44c5c9de2d309a21e453bfac7f7544 Mon Sep 17 00:00:00 2001 From: Amirhossein Khalili Date: Tue, 28 Apr 2026 14:21:04 +0330 Subject: [PATCH] fix(timesheet): extend mobile layout to xl and tighten row field widths --- src/pages/Timesheet.tsx | 123 ++-------------------------------------- 1 file changed, 5 insertions(+), 118 deletions(-) diff --git a/src/pages/Timesheet.tsx b/src/pages/Timesheet.tsx index a771d34..015feeb 100644 --- a/src/pages/Timesheet.tsx +++ b/src/pages/Timesheet.tsx @@ -1235,11 +1235,11 @@ function EntryEditorFields({ onChange={(projectId) => (onProjectChange ? onProjectChange(projectId) : onChange({ projectId }))} placeholder={t.timesheet?.projectLabel || "Project"} portalOwnerId={portalOwnerId} - className="min-w-0 max-w-[150px] 2xl:max-w-max flex-1" + className="min-w-0 max-w-fit flex-1" /> {selectedProject?.client?.name && ( - + - {selectedProject.client.name} )} @@ -1748,7 +1748,7 @@ function MobileRecordedEntryCard({ }; return ( -
+
@@ -2526,110 +2526,10 @@ export default function Timesheet() {
-
-
- setTimerDraft((current) => ({ ...current, description: event.target.value }))} - disabled={isStartingTimer} - className="h-11 border-slate-200 bg-slate-50 text-sm dark:border-slate-700 dark:bg-slate-900" - /> - -
-
-
- -
-
+