Skip to content

Commit

Permalink
feat: add responsive to profile timer sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric921 committed Dec 12, 2023
1 parent 53b8f96 commit ac4154d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions apps/web/lib/features/task/task-filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -348,28 +348,28 @@ function TaskStatusFilter({ hook }: { hook: I_TaskFilter }) {
<TaskStatusDropdown
key={key + 1}
onValueChange={(_, values) => 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}
/>

<TaskPropertiesDropdown
key={key + 2}
onValueChange={(_, values) => 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}
/>

<TaskSizesDropdown
key={key + 3}
onValueChange={(_, values) => 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}
/>

<TaskLabelsDropdown
key={key + 4}
onValueChange={(_, values) => 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}
/>

Expand Down
2 changes: 1 addition & 1 deletion apps/web/lib/features/timer/timer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function Timer({ className }: IClassName) {
useHotkeys(HostKeys.START_STOP_TIMER, handleStartSTOPTimer);

return (
<div className={clsxm('flex flex-row mb-12 2xl:mb-0', className)}>
<div className={clsxm('flex flex-row mb-6 md:mb-12 2xl:mb-0', className)}>
<div className="flex items-start justify-between border-r-[2px] dark:border-r-[#28292F] pr-5">
<div className="w-[11rem]">
<Text.Heading
Expand Down
2 changes: 1 addition & 1 deletion apps/web/lib/features/user-nav-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ function UserNavMenu() {
{isTeamMember && isTeamDropdownAllowed ? <TeamsDropDown publicTeam={publicTeam || false} /> : null}

<KeyboardShortcuts />
<Divider className="mt-1 mb-3 w-full" />
</ul>
<Divider className="mt-4 mb-3" />
<ul className="w-full">
{/* Logout menu */}
<li>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/pages/profile/[memberId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const Profile = () => {
</div>

{/* User Profile Detail */}
<div className="flex flex-col items-center justify-between py-10 xs:flex-row">
<div className="flex flex-col items-center justify-between py-5 md:py-10 md:flex-row">
<UserProfileDetail member={profile.member} />

{profileIsAuthUser && isTrackingEnabled && (
Expand Down

0 comments on commit ac4154d

Please sign in to comment.