-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Button Overflow and Minor Responsive Issues on Mobile View #10546
Fix Button Overflow and Minor Responsive Issues on Mobile View #10546
Conversation
WalkthroughThe pull request updates several localization files and UI components. In the locale JSON files, it adds a new key and splits an existing questionnaire key into two separate keys, while also modifying JSON formatting and removing an unused key. In the UI components, various CSS class names are adjusted to improve responsiveness and styling. Additionally, a few components now reference the updated localization keys by using the translation function instead of hardcoded strings. Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
💤 Files with no reviewable changes (1)
🚧 Files skipped from review as they are similar to previous changes (2)
⏰ Context from checks skipped due to timeout of 90000ms (3)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
✅ Deploy Preview for care-ohc ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…damaan/care_feAmaan into issues/10524/minor-responsive
…damaan/care_feAmaan into issues/10524/minor-responsive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/components/Questionnaire/QuestionnaireSearch.tsx (1)
96-96
: Consider adjusting max-height for better mobile experience.The fixed
max-h-[400px]
might be too tall for mobile screens, especially when the keyboard is open. Consider using a responsive max-height:-<div className="max-h-[400px] overflow-y-auto p-0"> +<div className="max-h-[300px] sm:max-h-[400px] overflow-y-auto p-0">
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
public/locale/en.json
(4 hunks)src/components/Questionnaire/QuestionnaireSearch.tsx
(1 hunks)src/pages/Patients/VerifyPatient.tsx
(1 hunks)src/pages/Scheduling/components/CreateScheduleExceptionSheet.tsx
(2 hunks)
✅ Files skipped from review due to trivial changes (1)
- src/pages/Scheduling/components/CreateScheduleExceptionSheet.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
- public/locale/en.json
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: cypress-run (1)
🔇 Additional comments (2)
src/components/Questionnaire/QuestionnaireSearch.tsx (1)
83-83
: Great responsive design implementation!The change from a fixed width to a responsive width using
w-full sm:w-[600px]
effectively addresses the mobile view issues while maintaining the desktop experience. This is a solid implementation of mobile-first responsive design.src/pages/Patients/VerifyPatient.tsx (1)
167-167
: LGTM! Effective fix for button overflow.Adding
w-full
to the container div ensures proper content alignment and prevents overflow issues on mobile view. The change maintains consistency with the existing responsive design patterns.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conflicts have been detected against the base branch. Please merge the base branch into your branch.
|
Conflicts have been detected against the base branch. Please merge the base branch into your branch.
|
@modamaan clear the merge conflicts |
LGTM |
@modamaan Your efforts have helped advance digital healthcare and TeleICU systems. 🚀 Thank you for taking the time out to make CARE better. We hope you continue to innovate and contribute; your impact is immense! 🙌 |
Proposed Changes
change 2

change 3

change 4
@ohcnetwork/care-fe-code-reviewers
Merge Checklist
Summary by CodeRabbit