fix: re-sync single-row mobile preview toolbar from framework - #125
Conversation
Pulls in the PreviewPanel.svelte change from codeslash-dev/SLASHED#466: the preview toolbar (template tabs, width/theme controls, motion select, refresh/external-link) no longer wraps onto 2-3 lines on narrow viewports, eating a large chunk of the WP admin Tokens page on mobile. It's now a fixed-height single row that scrolls horizontally. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SQXr34nocCi1jrGcp5TPVm
|
Warning Review limit reached
Next review available in: 2 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
PR Summary by QodoFix mobile preview toolbar to single-row horizontal scroll (framework sync)
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
1 rule 1. Vendored PreviewPanel.svelte modified
|
Pulls in the PreviewPanel.svelte change from codeslash-dev/SLASHED#466: switch the preview toolbar from a hard h-10 to min-h-10 so it can't clip a control that renders taller than 40px (OS text scaling, browser zoom, platform-native <select> styling) while keeping the same single-row, non-wrapping behavior in the normal case. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SQXr34nocCi1jrGcp5TPVm
Summary
PreviewPanel.sveltefrom the framework fix in fix(configurator): keep preview toolbar to a single row on mobile SLASHED#466.flex-wrapbelow themd:breakpoint, so on narrow viewports it wrapped onto 2-3 lines — eating a large chunk of the WP admin Tokens page on mobile before any preview content was visible.h-10) single row that scrolls horizontally instead of wrapping, withshrink-0on every control group so none of them get squeezed to near-invisibility.Type
Checklist
feat:,fix:,docs:, …)npm test(not run — requires WP test harness not available in this environment;npm run lintandnpm run verifywere run instead)npm run lintpasses (stylelint +php -l)npm run verifypasses (version metadata in sync)assets/admin-app/app.js/app.cssregenerated vianpm run build:admin-app)CHANGELOG.mdupdated under## [Unreleased]— not done, let me know if you'd like this addedadmin-app/srcsource changed via sync)Notes
Depends on codeslash-dev/SLASHED#466 (framework half of this fix), synced via
SLASHED_CONFIGURATOR_SRC=/path/to/SLASHED/configurator/src npm run sync.🤖 Generated with Claude Code
https://claude.ai/code/session_01SQXr34nocCi1jrGcp5TPVm
Generated by Claude Code