-
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: Title overflows in mobile viewport for right drawer #7311
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 PR addresses the issue of title overflow in the mobile viewport for the right drawer component. The change improves the user experience on mobile devices by preventing horizontal scrolling caused by long titles.
- Added
overflow-x: hidden
toStyledInfoContainer
for mobile viewports - Imported
MOBILE_VIEWPORT
constant from 'twenty-ui' for consistent breakpoint usage - Applied the fix specifically to the
ShowPageSummaryCard
component, which is used in the right drawer - The change affects the layout of notes and tasks where the
rightDrawer
component is used
1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings
packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx
Outdated
Show resolved
Hide resolved
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.
Thanks you for your contribution, I suggest a simplification
packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSummaryCard.tsx
Outdated
Show resolved
Hide resolved
Thanks @harshit078 for your contribution! |
## Description - This PR solves the issue twentyhq#7310
Description