mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-10 01:19:53 +01:00
Use `white-space: pre-wrap` on event diff lines instead of just `pre`. This prevents us from getting a horizontal overflow and will instead wrap the lines if it needs to, but preserve indentation and other spaces (as explained in [MDN's white-space docs](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space)). Means that instead of getting a horizontal overflow and a scroll bar, we get something like this instead:  |
||
|---|---|---|
| .. | ||
| EventDiff.test.tsx | ||
| EventDiff.tsx | ||