Skip to content

fix(evals): prevent filter menus from overflowing on mobile#2313

Open
itsmelouis wants to merge 1 commit into
nuxt:mainfrom
itsmelouis:fix/evals-mobile
Open

fix(evals): prevent filter menus from overflowing on mobile#2313
itsmelouis wants to merge 1 commit into
nuxt:mainfrom
itsmelouis:fix/evals-mobile

Conversation

@itsmelouis

Copy link
Copy Markdown

🔗 Linked issue

N/A

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

I noticed this bug while browsing the evals page after seeing this tweet. :)

On mobile, the category and agent filter select menus overflow horizontally, causing a horizontal scroll on the whole page. This is because the header row forces the heading and two fixed-width (w-52) selects on a single line.

This PR stacks the heading above the filters below the sm breakpoint and lets the two selects share the available width (flex-1) on mobile, while keeping the exact same layout on desktop (sm:w-52).

@itsmelouis
itsmelouis requested a review from atinux as a code owner July 9, 2026 17:12
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@itsmelouis is attempting to deploy a commit to the Nuxt Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a47b3d7e-91eb-4357-bc52-6a63ebe04fa5

📥 Commits

Reviewing files that changed from the base of the PR and between 3c4f44e and 1d7ba33.

📒 Files selected for processing (1)
  • app/pages/evals.vue

📝 Walkthrough

Walkthrough

This change modifies the evals page filter bar layout in app/pages/evals.vue. The wrapper div switches from a single-row flex layout to a responsive column-to-row layout with updated alignment and spacing. The Categories and Agents USelectMenu components receive updated class values enabling flexible sizing on small screens while preserving existing visual styling.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the main change: fixing mobile overflow for the evals filter menus.
Description check ✅ Passed The description is directly related to the PR and explains the mobile layout fix in detail.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant