Open
Conversation
Contributor
Author
Screencast.from.2026-03-17.19-42-04.webmShowing the new log view preview |
7b0ca49 to
6b4a373
Compare
Contributor
alanpeixinho
left a comment
There was a problem hiding this comment.
Remember to try for even smaller screen sizes.
Most phones goes to a screen resolution close to 360 x 800.
And can we increase the side panel size?
It seems we start to scroll way before we are actually using most of the screen size.
| return ( | ||
| <> | ||
| <div className="min-h-[300px]"> | ||
| <div className="max-h-500 min-h-[300px] w-full"> |
Collaborator
This is made not only to stop the logviewer to overflow its height, which could be done by other means, but also to force the component to occupy a determined share of the screen
Such improvement was made by locking a maximun height value and the optimal value for clamp function How were these values set? Empirically; no specific technique has been used to set them. Closes kernelci#1429
e1b97da to
0b4b14c
Compare
tailwind suggestion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
This PR modifies how log viewer behave on many viewpoints. It does not avoid horizontal overflow, but the user now can scroll both vertically and horizontally
How to test
Related issue