Skip to content
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

[Feature]: log JSON wrapping #2477

Open
neopaf opened this issue Oct 14, 2024 · 2 comments
Open

[Feature]: log JSON wrapping #2477

neopaf opened this issue Oct 14, 2024 · 2 comments

Comments

@neopaf
Copy link

neopaf commented Oct 14, 2024

Requirement

As a jaeger web user I would like to see more of my screen estate used for displaying JSON inside logs.

Problem

Currently JSON gets wrapped pretty quickly.
Is it possible to use more of my screen horizontal space somehow?

Image

Proposal

Detect or configure screen width and wrap accordingly?

Open questions

No response

@yurishkuro
Copy link
Member

"Configure" is not a viable approach, the same installation may have users with different screens. "Detect" would be fine, I just don't know how to do it.

@neopaf
Copy link
Author

neopaf commented Oct 16, 2024

Yuri, I feel the root cause is these 40px margins, they are on both sides of div.json-markup-child, while you obviously wanted a left-side margin only.

I'm not an HTML/CSS expert, but I feel there should be a way to go from left+right margin to left-only margin.
If you don't know one offhand, please let me know, I'll try to dig deeper?

See parent div-s as a slideshow, you'll see them all have these extra 40px on the right:
Image

Slides.zip

Hence we have empty space on the right side, creating wide horizontal scroll area, and pushing [copy] and [json] buttons way to the right:
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants