You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow vertical resizing of the summary and description panel #18843
Currently the summary and description panel has fixed height. And above it is a ton of free space (in most cases when you're committing changes to just one file). I tend to write long descriptions and would like to see them all without needing to scroll. And if I have to commit many files, I would rather scroll the files than the description.
Proposed solution
Make the panel resizable vertically just like its parent panel is currently resizable horizontally . The description field should fill all available height. Paddings should stay the same and the height of summary field should stay fixed to one line. The height should be remembered between sessions.
It moves the height definition from min-height on textarea to flex-basis on .commit-message-component (that actually is the panel I was referring to in previous comment). Now, we can make flex-basis a CSS variable, add resize-handle component to #repository-sidebar .panel but vertical and add resize handler that would change the value of that variable based on the position of the resize-handle. That is a general plan. I might try to implement it if I'll have time.
For now, for those who want a OK-ish solution, you can edit this file C:\Users\<user>\AppData\Local\GitHubDesktop\app-3.4.1\resources\app\renderer.css and just append the above CSS to it (probably tweak flex-basis to your liking) and restart GitHub Desktop. It should work until update overwrites this file.
@Chrysaloid thanks for reaching out! There's a previous issue about expanding the commit message area, see #1646. I'm going to reference this there and close this out.
Activity
Chrysaloid commentedon Jun 18, 2024
OK, I have actually inspected the layout of the app with DevTools and I have came up with this CSS:
It moves the height definition from
min-heightontextareatoflex-basison.commit-message-component(that actually is the panel I was referring to in previous comment). Now, we can makeflex-basisa CSS variable, addresize-handlecomponent to#repository-sidebar .panelbut vertical and add resize handler that would change the value of that variable based on the position of theresize-handle. That is a general plan. I might try to implement it if I'll have time.For now, for those who want a OK-ish solution, you can edit this file
C:\Users\<user>\AppData\Local\GitHubDesktop\app-3.4.1\resources\app\renderer.cssand just append the above CSS to it (probably tweakflex-basisto your liking) and restart GitHub Desktop. It should work until update overwrites this file.niik commentedon Jun 24, 2024
@Chrysaloid thanks for reaching out! There's a previous issue about expanding the commit message area, see #1646. I'm going to reference this there and close this out.
Starframe commentedon Sep 27, 2026
Thanks for this hack. It will save me quite a lot of copying messages from an external editor <3