From ac4154d48c341361dc1820a6509231e8bf9de9e8 Mon Sep 17 00:00:00 2001 From: cedric karungu Date: Tue, 12 Dec 2023 21:41:53 +0200 Subject: [PATCH] feat: add responsive to profile timer sections --- apps/web/lib/features/task/task-filters.tsx | 8 ++++---- apps/web/lib/features/timer/timer.tsx | 2 +- apps/web/lib/features/user-nav-menu.tsx | 2 +- apps/web/pages/profile/[memberId].tsx | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/web/lib/features/task/task-filters.tsx b/apps/web/lib/features/task/task-filters.tsx index 77a580cea..638d031e5 100644 --- a/apps/web/lib/features/task/task-filters.tsx +++ b/apps/web/lib/features/task/task-filters.tsx @@ -348,28 +348,28 @@ function TaskStatusFilter({ hook }: { hook: I_TaskFilter }) { hook.onChangeStatusFilter('status', values || [])} - className="lg:min-w-[170px] mt-4 lg:mt-0" + className="lg:min-w-[170px] mt-4 mb-2 lg:mt-0" multiple={true} /> hook.onChangeStatusFilter('priority', values || [])} - className="lg:min-w-[170px] mt-4 lg:mt-0" + className="lg:min-w-[170px] mt-4 mb-2 lg:mt-0" multiple={true} /> hook.onChangeStatusFilter('size', values || [])} - className="lg:min-w-[170px] mt-4 lg:mt-0" + className="lg:min-w-[170px] mt-4 mb-2 lg:mt-0" multiple={true} /> hook.onChangeStatusFilter('label', values || [])} - className="lg:min-w-[170px] mt-4 lg:mt-0" + className="lg:min-w-[170px] mt-4 mb-2 lg:mt-0" multiple={true} /> diff --git a/apps/web/lib/features/timer/timer.tsx b/apps/web/lib/features/timer/timer.tsx index 8f5d37bfb..076914bb0 100644 --- a/apps/web/lib/features/timer/timer.tsx +++ b/apps/web/lib/features/timer/timer.tsx @@ -58,7 +58,7 @@ export function Timer({ className }: IClassName) { useHotkeys(HostKeys.START_STOP_TIMER, handleStartSTOPTimer); return ( -
+
: null} + -
    {/* Logout menu */}
  • diff --git a/apps/web/pages/profile/[memberId].tsx b/apps/web/pages/profile/[memberId].tsx index 5f050b3e1..1a27ff937 100644 --- a/apps/web/pages/profile/[memberId].tsx +++ b/apps/web/pages/profile/[memberId].tsx @@ -43,7 +43,7 @@ const Profile = () => {
{/* User Profile Detail */} -
+
{profileIsAuthUser && isTrackingEnabled && (