fix: thread-comment-ui panel width #6074
Open
+1
−1
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.
close #xxx
In the comments panel, scrolling appeared along the x-axis. I fixed this by changing the width of this panel.
Additionally, I'd like to discuss another change. I noticed that a significant number of sidebars have a width of 360, while others may have variations of 312, 333, and so on. Do you think it might be worthwhile to create a default value constant for the sidebar, for example, 360, and use it for all sidebars that are smaller than this width, and for those that are larger, set the desired value
The proposal is valid due to the fact that this is essentially a single sidebar, and the user can probably expect a standard size when they appear or change.
If you agree with this statement, I will make a PR about it.
Before:


After:


Pull Request Checklist