[Bug]:File path overflows card border on iPhone 12 Pro#3081
[Bug]:File path overflows card border on iPhone 12 Pro#3081arkid15r merged 6 commits intoOWASP:mainfrom
Conversation
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughChanged Card.tsx to render project summaries with additional CSS utility classes that enable breaking and wrapping for long text (including targeted rules for Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
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 |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
frontend/package-lock.jsonis excluded by!**/package-lock.json
📒 Files selected for processing (1)
frontend/src/components/Card.tsx
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: Rajgupta36
Repo: OWASP/Nest PR: 2288
File: frontend/src/components/ActionButton.tsx:0-0
Timestamp: 2025-09-17T02:42:41.928Z
Learning: In frontend/src/components/ActionButton.tsx, the user Rajgupta36 intentionally changed text-blue-600 to text-[#1D7BD7] to align the text color with the border color (#1D7BD7) for visual consistency, prioritizing design alignment over theme tokens.
📚 Learning: 2025-09-17T02:42:41.928Z
Learnt from: Rajgupta36
Repo: OWASP/Nest PR: 2288
File: frontend/src/components/ActionButton.tsx:0-0
Timestamp: 2025-09-17T02:42:41.928Z
Learning: In frontend/src/components/ActionButton.tsx, the user Rajgupta36 intentionally changed text-blue-600 to text-[#1D7BD7] to align the text color with the border color (#1D7BD7) for visual consistency, prioritizing design alignment over theme tokens.
Applied to files:
frontend/src/components/Card.tsx
🧬 Code graph analysis (1)
frontend/src/components/Card.tsx (1)
frontend/src/components/MarkdownWrapper.tsx (1)
Markdown(5-20)
…com/Isha-upadhyay/Nest into fix/contribute-card-overflow-mobile
|
arkid15r
left a comment
There was a problem hiding this comment.
@Isha-upadhyay thanks for fixing that!
Please take closer attention to the contribution guidelines next time -- make check reformatted your code.
|
Thanks for the feedback, @arkid15r |
* Fix mobile card overflow for long inline code and URLs * fix tailwind * Remove unintended frontend/package-lock.json * Run make check --------- Co-authored-by: Arkadii Yakovets <arkadii.yakovets@owasp.org>



Proposed change
Resolves #2989
This PR fixes a mobile responsiveness issue where long inline code snippets
and URLs in issue summaries caused cards to overflow horizontally on small
screens.
The fix enables safe word wrapping for Markdown-rendered content, including
inline code and links, allowing cards to expand vertically on mobile devices
without affecting the desktop layout.
screenshots before change ->


screenshots after change ->
Checklist
make check-testlocally and all tests passed