-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 modal dialog max-width and text wrapping #8080
Conversation
@vince-fugnitto PTAL |
The Close button should be |
@kittaakos I agree but didn't want to feature-creep my first PR. In VS Code, it's |
Let me see about the button colour. |
for sure, i missed that |
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.
I added two minor notes, just to make the changeset cleaner. Also, please squash your commits; this PR should consist of one single commit. Thank you!
packages/plugin-ext/src/main/browser/dialogs/style/modal-notification.css
Show resolved
Hide resolved
packages/plugin-ext/src/main/browser/dialogs/style/modal-notification.css
Outdated
Show resolved
Hide resolved
Signed-off-by: Tim Etchells <timetchells@ibm.com>
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, @tetchel! It's great that you have enhanced the test extension with the super long message example 👍
Signed-off-by: Tim Etchells timetchells@ibm.com
What it does
Fixes #8071
p
instead ofpre
so that the text will wrap to fit in the modal, but addwhite-space: pre-wrap
so that newlines are still preserved and spaces are not collapsedHow to test
Install the vsix from https://github.com/tetchel/theia-modal-wrap and run the command it contributes
Review checklist
Reminder for reviewers
Screenshot: