-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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: Developers page is not optimised for mobile viewport #7493
Conversation
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.
PR Summary
This pull request optimizes the Developers page for mobile viewports, addressing overflow issues in the API keys and webhooks tables.
- Added responsive styling to
SettingsApiKeysTable.tsx
using media queries for better mobile layout - Implemented
useIsMobile
hook inSettingsDevelopers.tsx
for conditional rendering on mobile devices - Created
StyledContainer
component with mobile-specific styling to improve overall page layout - Adjusted grid template columns in
StyledTableRow
for better content display on smaller screens - Modified
StyledTableBody
to use flex display on mobile, enhancing table responsiveness
2 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings
} | ||
`; | ||
|
||
const StyledContainer = styled.div<{ isMobile: boolean }>` | ||
display: flex; |
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.
style: StyledContainer doesn't use isMobile prop. Consider using it for mobile-specific styling
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.
Thank you @harshit078!
/oss.gg 150 |
Thanks for opening an issue! It's live on oss.gg! |
Awarding harshit078: 150 points 🕹️ Well done! Check out your new contribution on oss.gg/harshit078 |
Thanks @harshit078 for your contribution! |
) ## Description - This PR solves the issue twentyhq#7483 - optimised the developers page for all mobile viewports --------- Co-authored-by: Charles Bochet <[email protected]>
Description