Truncate branch name in cherrypick form
Summary
Branch names can cause the button to overflow the modal used when cherry picking a commit.
Steps to reproduce
- Create a branch with a long name, such as
348199-quarantine-Plan-Milestones-Group-milestone-behaves-like-milestone-assigned-to-existing-issue-is-assigned-to-an-existing-issue - Open a commit
- Options > Cherry pick
- Select your long name branch (search if needed)
Example Project
gitlab
What is the current bug behavior?
Button expands past the modal boundary
What is the expected correct behavior?
Button is constrained within the modal body
