π Bug Report: Edit Post modal is not responsive in smaller screen sizes
Param999 opened this issue Β· comments
π Description
Edit Post modal is not responsive in MacBook Air (13.3 inches)
Viewport size: 1440 x 813
Screenshot:
![Screenshot 2024-05-11 at 7 17 47β―PM](https://private-user-images.githubusercontent.com/16830424/329786193-6fe2c5c8-8122-496f-9694-9d72ca47b6ea.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI3MjYzOTAsIm5iZiI6MTcyMjcyNjA5MCwicGF0aCI6Ii8xNjgzMDQyNC8zMjk3ODYxOTMtNmZlMmM1YzgtODEyMi00OTZmLTk2OTQtOWQ3MmNhNDdiNmVhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODAzVDIzMDEzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ0NmY4MzQ3NDQxNzAzZjIwMzRjMzFjYTM4NWE1ZGUwNjllNWU4ZGYyYTIxOTdmODA4M2FkNDM3MTNjY2M3MmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.orvuVOAm5ftg1Ol6XN_i7-9iRwrj5X6ZKSqXlGf35Vw)
π Reproduction steps
Open "Edit Post" modal in 1440 x 813 viewport.
π Expected behavior
Edit Post modal should be responsive.
π Actual Behavior with Screenshots
π» Operating system
MacOS
π€ Node Version
20.8.1
π Provide any additional context for the Bug.
No response
π Have you spent some time to check if this bug has been raised before?
- I checked and didn't find similar issue
Are you willing to submit PR?
None
Do you know how to fix it?
@Param999?
Shrinking the textarea might not work so well
Hi @nevo-david,
I understand your point about the textarea size, and I agree that shrinking it might not be the best solution. I've noticed that the modal width for "Edit Post" is currently narrower than for "Create Post." To enhance usability, we could consider increasing the modal width. While this doesn't make the modal fully responsive, it should improve the user experience, especially for MacBook Air users.
Here is a screenshot with increased width:
I can raise a PR for it if you are OK with the approach.
Yes we can add a little bit more, but I am afraid it will not be enough, and wont look so good :(