Fix display of all branches labels in repos with short branch names

In a fresh repository with only the master branch the "All branches"
label would be truncated to "All br".
Fix rendering glitch for branch names

Parts of the author name would randomly be shown after the branch's
commit title if the title was shorter than the author name.