fixes #620 issue contact number input field is overflowing from box i… #621
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related Issue
In singup page the contact number input field is overflowing in small devices
Closes: #620
Description of Changes
you are using a npm package called react-phone-input-2
so this package's default styling is width:300px; that's why your tailwindcss style w-full not applies so i made a small changes in your PhoneInput component there is props called inputStyle props so in this props we can pass width:"100%" to solve the bug.
For example:
changes in singup.jsx file in PhoneInput component in inputstyle props pass a width : "100%" to fix this issue
Checklist:
Screenshots