Repository navigation
fix(frontend): optimize repository selector dropdown width for long URLs - #175
Conversation
Adjust dropdown width settings for better display of long Git repository URLs: - Set min-width to 280px and max-width to 500px for all modes - Use CSS min() function: max-w-[min(500px,90vw)] to properly constrain width to smaller of 500px or 90vw on small screens - Use w-auto for flexible width based on content - Applied to desktop normal mode, desktop compact mode, and mobile
📝 WalkthroughWalkthroughPopoverContent width styling updated in two repository selector components to improve responsiveness. MobileRepositorySelector changed from fixed 280px width to auto width with min-width 280px and responsive max-width constraints. RepositorySelector received similar responsive width adjustments in both compact and normal modes using min-width and max-width limits. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
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 |
…RLs (wecode-ai#175) Adjust dropdown width settings for better display of long Git repository URLs: - Set min-width to 280px and max-width to 500px for all modes - Use CSS min() function: max-w-[min(500px,90vw)] to properly constrain width to smaller of 500px or 90vw on small screens - Use w-auto for flexible width based on content - Applied to desktop normal mode, desktop compact mode, and mobile
Adjust dropdown width settings for better display of long Git repository URLs:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.