TheVicky1 / TheVicky1/Pact_OS

[UI] Improve Mobile Bottom Sheet Padding in Task Form Modal

Open Beginner friendly
#61 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

accessibility area:dashboard beginner friendly bug community contributions-welcome difficulty:beginner difficulty:easy enhancement good first issue hacktoberfest help wanted time:<15m ui up-for-grabs
Dominant language
TypeScript
Stars
5
Forks
7
Avg merge
39m
Merged PRs (30d)
39

Description

  • Labels: good first issue, ui, difficulty:beginner, area:dashboard
  • Target File: src/features/tasks/components/task-form-modal.tsx
  • Estimated Time: 10–15 minutes
  • Difficulty: Level 2 (Beginner)
Why This Matters

On mobile viewports (< 640px), form action buttons in modals should have adequate safe-area bottom padding to prevent overlap with mobile browser navigation bars.

Current Behavior

The modal footer in src/features/tasks/components/task-form-modal.tsx has fixed padding p-4.

Requested Change

Update the modal footer container to use responsive padding: p-4 pb-6 sm:pb-4.

Acceptance Criteria
  • Responsive padding applied in src/features/tasks/components/task-form-modal.tsx.
  • Modal displays cleanly on both mobile (375px) and desktop (1280px).
Verification
npm run lint
npx tsc --noEmit
Contributor Notes

CSS utility tweak in one file.


Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open src/features/tasks/components/task-form-modal.tsx and locate the modal footer with the fixed p-4 padding. Check the responsive utility classes, then run npm run lint and npx tsc --noEmit. Done means the footer has adequate spacing at 375px and retains the expected desktop spacing at 1280px.

Written by the indexing model from the issue text.

Assessment

Tech stack
tailwindcss, typescript
Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
96/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.