Skip to content

fix: Prevent custom dimension inputs from clipping 4-digit values#884

Open
Vedhant26 wants to merge 1 commit into
magic-peach:mainfrom
Vedhant26:fix/issue-876-custom-dimension-inputs
Open

fix: Prevent custom dimension inputs from clipping 4-digit values#884
Vedhant26 wants to merge 1 commit into
magic-peach:mainfrom
Vedhant26:fix/issue-876-custom-dimension-inputs

Conversation

@Vedhant26
Copy link
Copy Markdown

@Vedhant26 Vedhant26 commented May 21, 2026

Resolves #876
What changed?
Added min-w-20 to the custom width and height inputs in the PresetSelector component.
Why?
As mentioned in the issue, the inputs were getting squished by flexbox layout constraints to the point where 4-digit resolutions (like 1920 or 1080) were getting clipped and looking like "19" and "10". Enforcing a minimum width ensures the inputs stay wide enough to comfortably fit standard video dimensions without breaking the UI on smaller panels.
Let me know if you want me to make any adjustments! (GSSoC'26)
image

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

@Vedhant26 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

👋 Thanks for your PR, @Vedhant26!

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

🟠 GSSoC'26 PR detected — thanks for contributing under GirlScript Summer of Code 2026!

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! 🎉

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

github-actions Bot commented May 21, 2026

✅ PR Format Check Passed — @Vedhant26

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 the gssoc'26 GirlScript Summer of Code 2026 label May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc'26 GirlScript Summer of Code 2026 level:beginner Beginner level - 20 pts type:bug Bug fix type:design UI/UX design

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Custom dimension inputs clip 4-digit values — 1920×1080 displays as "19" and "10"

1 participant