Closed Sanjay-Sahu-Bandla closed 9 months ago
🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already.
Both this and #2817 have the same effect on the desktop size. It makes it go to an auto
width so the modal becomes a little bit skinner than the current view. I'm going to close this PR and work with #2817 as that one was submitted first.
Issue:
The Keyboard Shortcuts modal exhibited horizontal scrolling on mobile devices due to a fixed width.
Solution:
Resolved by adjusting the modal's width property from a fixed value to
max-width
, enabling responsiveness based on content. This ensures optimal viewing on various screen sizes, enhancing user experience.Changes:
Before
After
I have verified that this pull request:
npm run lint
)npm run test
)develop
branch.