**Describe the problem** Log viewer - log empty spaces are removed when "Wrap text" feature is deactivated. **How do you reproduce the problem?** - Visit https://www.patternfly.org/extensions/log-viewer/#with-complex-toolbar - Activate "Wrap text" option, the log (eg. line 3) will be: `I0223 20:04:25.084507 1 loader.go:379]` (this is correct) - Deactivate "Wrap text" option, the log (eg. line 3) will be: `I0223 20:04:25.084507 1 loader.go:379]` (this is incorrect) **Expected behavior** `I0223 20:04:25.084507 1 loader.go:379]` should be displayed always. **What is your environment?** - OS: Fedora - Browser: Google Chrome - Version: Version 129 (Official Build) (64-bit)
Activity
patrikk0123 commentedon Oct 9, 2024
I can see that:
.pf-v5-c-log-viewer__list-item .pf-v5-c-log-viewer__textclasswhite-space: nowrapprop (collapses the whitespaces) defaultly, andwhite-space: break-spacesprop (preserves the whitespaces) when wrap text feature is ontherefore etc.