Long branch name is hidden in dropdown

Summary

Long branch name is hidden in compare page dropdown

Steps to reproduce

  1. Open https://gitlab.com/testpilot/long-branch-names/compare/master...mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
  2. Select Dropdown

Example Project

https://gitlab.com/testpilot/long-branch-names

Relevant logs and/or screenshots

Affected Areas

Branch Comparison Screenshot

In Commits Page Screenshot

Contribution Charts Screenshot

Output of checks

This bug happens on GitLab.com

Edited by Ghost User