Repository navigation
Add a configurable maximum width for side panels - #6154
Open
ahmedbektic wants to merge 1 commit into
Open
ahmedbektic wants to merge 1 commit into
ahmedbektic wants to merge 1 commit into
Conversation
Signed-off-by: Ahmed Bektic <194897790+ahmedbektic@users.noreply.github.com>
Author
|
I understand the policy regarding outside prs but would like to see something similar officially added upstream |
This branch has not been deployed
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.
PR Description
Add gui.sidePanelMaxWidth to limit the width of the left side section on wide terminals. The value is measured in terminal columns, including borders. The default of 0 disables the cap. When configured, the section uses the smaller of its existing proportional allocation and the maximum width. The cap applies in normal landscape mode. Portrait, enlarged, and full-screen layouts retain their existing behavior. Also fix zero-valued integer defaults in the configuration documentation generator so the generated example correctly displays sidePanelMaxWidth: 0.
references #6021
Please check if the PR fulfills these requirements
go generate ./...)