-
-
Notifications
You must be signed in to change notification settings - Fork 819
fix(ui): make messages layout responsive #960
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -115,6 +115,7 @@ const Messages = observer(() => { | |
| return ( | ||
| <DefaultPage | ||
| title={name} | ||
| maxWidth={1600} | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While this works for wide messages, shorter, text only messages now look bad and aren't that readable anymore. The width of the message should depend on the content. If there is a wide <code> block inside, the message can be wider, but smaller text only messages should continue having the small width. Also mentioned here: #744 (comment) |
||
| rightControl={ | ||
| <div> | ||
| {app && ( | ||
|
|
||
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.
pre must continue to have no word wrap. It's basically the feature of code formatting to keep it as it. I'd say almost every markdown renderer doesn't do this. E.g.