Skip to content

fix(mobile): ensure export button is full-width with 44px touch targe…#772

Merged
magic-peach merged 1 commit into
magic-peach:mainfrom
Rucha0901:fix/mobile-export-button-57
May 20, 2026
Merged

fix(mobile): ensure export button is full-width with 44px touch targe…#772
magic-peach merged 1 commit into
magic-peach:mainfrom
Rucha0901:fix/mobile-export-button-57

Conversation

@Rucha0901
Copy link
Copy Markdown
Contributor

Summary

Closes #57

Fixes the Export button layout on mobile devices to ensure it is full-width and meets the minimum 44px touch target height.

What Changed

src/components/VideoEditor.tsx

  • Added min-h-[44px] to the Export button's className — guarantees the WCAG 2.5.5 recommended minimum touch target height on all screen sizes.
  • The button already had w-full which makes it span the full container width. On mobile (< lg breakpoint), the grid collapses to a single column so the button fills the entire viewport width.

Before / After

Screen Before After
Mobile (< 640px) Full-width but no explicit touch target guarantee Full-width ✅ + min 44px height ✅
Tablet / Desktop Full-width within 340px sidebar Unchanged ✅

Acceptance Criteria

  • Export button is full-width on mobile (screens < 640px)
  • Normal width on larger screens (contained within the 340px sidebar)
  • Minimum touch target height of 44px enforced via min-h-[44px]

magic-peach#57)

- Add min-h-[44px] to the export button to guarantee the minimum 44px
  touch target height on all screen sizes (WCAG 2.5.5 recommendation)
- w-full already present so button spans full container width on mobile
  (grid collapses to single column on screens < lg breakpoint)
- Also update ffmpeg.test.ts to match new buildAudioFilter(speed, normalizeAudio)
  signature introduced in upstream main

Closes magic-peach#57
@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

@Rucha0901 is attempting to deploy a commit to the magic-peach1's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown
Contributor

✅ PR Format Check Passed — @Rucha0901

Basic format checks passed. A maintainer will review your code changes.

This does not mean the PR is approved — it just means the format is correct.

@github-actions github-actions Bot added level:beginner Beginner level - 20 pts type:bug Bug fix type:design UI/UX design labels May 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

👋 Thanks for your PR, @Rucha0901!

Welcome to Reframe — a browser-based video editor built for everyone 🎬

What happens next

  1. 🤖 Automated checks — build & TypeScript typecheck will run automatically
  2. Vercel preview — a preview deployment will be created (requires maintainer authorization for fork PRs)
  3. 👀 Code review — a maintainer will review your changes
  4. 🚀 Merge — once approved, your PR will be merged!

Quick checklist

  • PR title follows Conventional Commits (e.g. feat: add dark mode)
  • Linked the issue this PR closes (e.g. Closes #123)
  • Tested the changes locally (bun run dev)
  • Build passes (bun run build)

Useful links

Happy coding! 🎉

@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
reframe Ready Ready Preview, Comment May 20, 2026 2:48pm

@magic-peach magic-peach added gssoc:approved Approved for GSSoC'26 quality:clean Well-implemented, clean code labels May 20, 2026
@magic-peach magic-peach merged commit a4201a1 into magic-peach:main May 20, 2026
10 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved Approved for GSSoC'26 level:beginner Beginner level - 20 pts quality:clean Well-implemented, clean code type:bug Bug fix type:design UI/UX design

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Good First Issue] Fix mobile layout — export button should be full-width on small screens

2 participants