fix: improve playground mobile responsiveness - #750
Conversation
- Add custom main.css with mobile-responsive styles - Tables now scroll horizontally on mobile instead of overflowing - Code blocks have proper overflow handling - Improved typography and spacing for mobile screens - Add templates/modern to docfx.json template list - Add _playground_new to .gitignore Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
GitHub Pages uses Jekyll by default which ignores folders starting with underscore (_). The _framework and _content folders are critical for Blazor WASM applications to work. Adding .nojekyll file prevents Jekyll processing and allows these folders to be served correctly. This fixes the playground "unhandled error" issue on the live site. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- scope table layout rules to mobile media query only - remove tr from display:table selector to fix table formatting - add position:relative to table for scroll indicator anchor - use overflow-wrap instead of legacy word-wrap in print styles - ensure _site directory exists before creating .nojekyll Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- add mobile breakpoints to mainlayout header and footer - stack toolbar vertically on mobile with full-width buttons - switch editor and output to vertical layout on mobile - hide less critical buttons on very small screens (< 480px) - use dynamic viewport height (dvh) for better mobile support - reduce font sizes and padding for mobile screens Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- enable word wrap in monaco editor for better mobile display - add aggressive overflow controls to prevent horizontal scrolling - constrain panel headers and editor containers to viewport width - add max-width: 100vw to root elements on mobile - fix monaco editor width with deep css selectors Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughThis PR implements mobile-responsive design improvements across the documentation and playground components while ensuring GitHub Pages compatibility. Changes include adding .nojekyll markers in deployment workflows, updating configuration files, and introducing extensive CSS media queries for responsive layouts on small screens. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~15 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|



Summary
Test plan
🤖 Generated with Claude Code