google / gitiles

A simple browser for Git repositories.
https://gerrit.googlesource.com/gitiles/
Other
582 stars 174 forks source link

Long branch names with underscores don't wrap correctly #112

Open mbjorge opened 7 years ago

mbjorge commented 7 years ago

I have a long branch name:

myreallylong/super_special_branch_with_underscores_in_the_name_does_not_wrap

which doesn't get wrapped and instead spills into the text of the repo description

Where as another long branch name seems to wrap correctly: myotherbranch/that-is-long-but-has-dashes-instead-of-underscores-and-wraps-correctly

This is on Chrome 60.0.3112.78 (Official Build) (64-bit) on Ubuntu 14.04 fwiw

Ismael-VC commented 7 years ago

I'm experiencing also this issue, I'll make a PR with my ideas on how to improve this.

sselberg commented 5 years ago

This bug is still present in version 0.3-3 https://imgur.com/a/geReFke

sselberg commented 2 years ago

Fixed with https://gerrit-review.googlesource.com/c/gitiles/+/322595