-
Notifications
You must be signed in to change notification settings - Fork 844
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
Added option to wrap lines in EuiCodeBlock #3103
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3103/ |
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.
Couple changes. Thanks for taking on this issue.
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 for creating this PR. I tested locally and I added a few comments.
Also, don't forget to go through our checklist. It's very important to make sure it works on IE11 and Firefox. 🙂
Co-Authored-By: Elizabet Oliveira <elizabet.oliveira@elastic.co>
Co-Authored-By: Elizabet Oliveira <elizabet.oliveira@elastic.co>
Co-Authored-By: Elizabet Oliveira <elizabet.oliveira@elastic.co>
Thanks @miukimiu |
Hi @anishagg17, I just did a PR with a few changes anishagg17#5.
Can you approve the PR? |
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 @anishagg17! LGTM! 🎉
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.
Looking better, but still needs a test and a doc example for showing the non-default case of pre
.
I will add It |
All changes have been made |
Jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3103/ |
Co-Authored-By: Elizabet Oliveira <elizabet.oliveira@elastic.co>
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3103/ |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3103/ |
Hi @anishagg17, I found one more issue. The Here's the PR: anishagg17#8 |
Pr merged 👍 |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3103/ |
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! 🎉
You just need to merge master and update the tests because the build is failing.
I have merged master , now I think build would pass |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3103/ |
Thanks @anishagg17! Double checked my earlier issues and merged before the CL got out of date. |
Summary
Fixes : #1501
Screenshot
wrapLines : nowrap
Checklist
- [ ] Check against all themes for compatibility in both light and dark modes- [ ] Checked in mobile- [ ] Checked for breaking changes and labeled appropriately- [ ] Checked for accessibility including keyboard-only and screenreader modes