-
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: Invite by email table overflows in mobile viewport #7273
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 improves the layout of the workspace members settings page, focusing on mobile responsiveness and addressing table overflow issues.
- Introduced
StyledTableRow
andStyledTableCell
components with mobile-specific styling inSettingsWorkspaceMembers.tsx
- Added media query for mobile viewport to adjust table layout on smaller screens
- Modified
StyledTableCell
to handle long email inputs by addingoverflow: scroll
andtext-overflow: ellipsis
- Adjusted
gridAutoColumns
forStyledTableRow
to improve spacing on mobile devices - Implemented these changes to solve the table overflow issue reported in Invite by email table overflows in mobile viewport #7253
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
|
The video won't play, but scrolling through the emails sounds cool! We should keep the icon gray since our design system currently doesn't include colors for icon buttons. |
video reupload - 371299428-7a4f6f9a-7fef-42f1-a226-59a1d73767f4.mov |
Let's make the trash icons gray and we're good! |
@Bonapara Fixed the icon ! |
@harshit078 Thanks for this PR, could you also handle these changes?
|
Note
Screen.Recording.2024-09-29.at.4.20.04.PM.mov |
2024-09-30.19-09-19.mp4 |
Looks 1) is not fixed yet, right @harshit078? Thanks to you both ;) |
@Bonapara, I fixed all the concerns that you mentioned.
Screen.Recording.2024-10-01.at.1.26.11.AM.mov |
@ehconitin thanks! Can we keep the Text/primary color for the emails & icons? Looks it was changed to "secondary" in the "after" screenshot. Also Looks like the mail icons are no longer properly vertically aligned with the email in the desktop "after" screen. |
@ehconitin, I've made the changes.
Could you check for on your localhost (1) ? |
@harshit078 |
@charlesBochet could you please take a look? |
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.
LGTM
Thanks @harshit078 for your contribution! |
##Description - This PR solves the issue twentyhq#7253 - Made the invite table mobile friendly for all media width ## Before https://github.com/user-attachments/assets/458bd47d-38fb-4ddc-a996-c1bb3908d014 <img width="439" alt="Screenshot 2024-09-27 at 1 30 52 AM" src="https://github.com/user-attachments/assets/2a0ba6a2-c0f6-42bb-b74d-3a3147f2e7e7"> ## After <img width="440" alt="Screenshot 2024-09-27 at 1 34 11 AM" src="https://github.com/user-attachments/assets/d31fdeba-574a-4cd0-a61a-bb5fba656109"> https://github.com/user-attachments/assets/7a4f6f9a-7fef-42f1-a226-59a1d73767f4 > [!Note] > I've added 2 implementations and if either doesn't follow design rules then it can be changed- > - Made the trash icon `accent danger` > - When emails are long, given scroll for ease of convience. --------- Co-authored-by: Nitin Koche <[email protected]>
##Description
Before
Screen.Recording.2024-09-27.at.1.30.14.AM.mov
After
Screen.Recording.2024-09-27.at.1.34.39.AM.mov
Note
I've added 2 implementations and if either doesn't follow design rules then it can be changed-
accent danger