-
Notifications
You must be signed in to change notification settings - Fork 152
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
Make each column scrollable, break on words in snippets #5693
Conversation
Co-authored-by: Lily Pace <[email protected]>
interface ConversationRouteProps { | ||
me: Conversation_me | ||
conversationID: string | ||
match: Match | ||
} | ||
|
||
const ConstrainedHeightFlex = styled(Flex)` | ||
height: calc(100vh - 145px); |
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.
Just curious what does the 145px
represent?
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.
Oh is that accounting for the header thing that contains Inbox, Conversation with..., etc?
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.
It is indeed. Might add a comment here to make that clearer.
@@ -25,7 +25,7 @@ const TimeSinceFlex = styled(Flex)` | |||
` | |||
|
|||
const StyledSans = styled(Sans)` | |||
word-break: break-all; | |||
word-break: break-word; |
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.
👍
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.
This looks good to me!
Fixes PURCHASE-1908
Ensures that each panel in a conversation scrolls individually.
Before
After