Support icon indicating copy to clipboard operation
Support copied to clipboard

[Feature request] Commit message field vertical height

Open stuzer05 opened this issue 5 years ago • 3 comments

Dear GitFiend developer,

I have been struggling to write a decent commit messages for a while now because of a small textarea height. I decided to improve your wonderful git client. But I'm not sure whether it's okay to post a piece of code here on github. I'd like to post it here if you allow, or rather mail it to you directly. I hope to see these changes in the next release.

Thank you for your amazing work once again.

stuzer05 avatar Mar 01 '20 01:03 stuzer05

Hi @Stuzer05, thanks. Feel free to post code here if you want. I may not solve it the way you suggest because there are other improvements I want to make in that area, but it still helps.

GitFiend avatar Mar 01 '20 05:03 GitFiend

I only paste what has been changed (overwritten).

.CommitPane {
  flex: 1 1 auto;
}
.CommitPane-Description {
  height: 100% !important;
}
.WipFileLists{
  max-height: 100%;
}

.WipFileLists > div:nth-child(2), /* unstaged files list */
.WipFileLists > div:nth-child(4) /* staged files list */ {
  resize: vertical !important;
}

Also, it's better to add classes the the unstaged/staged file elements.

stuzer05 avatar Mar 01 '20 16:03 stuzer05

That's an interesting solution. I think enabling a user to resize is a good idea.

GitFiend avatar Mar 02 '20 18:03 GitFiend