Fit side panel height to content#5689
Conversation
I followed the formatting guide from "contributing" and apparently it hadn't been run for a while, with the default config at least...
|
now that I look at it, it might be a little too much motion for some people, when changing between tabs. |
|
@viktorashi Sorry, but this repo is no longer accepting PRs. The idea of not wasting so much space for empty panel sounds interesting though; I can put it on my list of things to think about. |
oh noo, is it related to too many AI slop PR's being filed in the last year or so? But no matter what, thanks a ton for working so much on this amazing project. and Jesse as well, I havent seen any annoucemeents or stuff like that on this repo tbh |
PR Description
I was getting annoyed that the entire branches side-panel was taking up my entire screen, even though I only had like 2 branches in my repo:
So I made the "acordion" thingy size down to fit the content, and leave room for the other tabs that might have more rows (like Files, mostly for example):
It also works for the other ones
This how a fully empty one looks now
Please check if the PR fulfills these requirements
go generate ./...)