silverstripe/sapphire — pull request #389 by jbridson (2012-05-01 21:43:11+00:00)
Title: ENHANCEMENT: added ellipsis to breadcrumbs when text overflows - added t...

...ool tips on hover so that the whole breadcrumb can be seen.

Ok so I have come up with a solution to the breadcrumbs overflow. We now have ellipsis working when each breadcrumb overflows. I wasn't able to come up with a good solution for showing the whole breadcrumb on click of the ellipsis though, the only thing that I thought would be useful was to put a 'tooltip' on hover so that the user could see the full link of the breadcrumb. Unfortunately there is a small issue of when the text wraps the width of the breadcrumb is set to the longest line of text, this means that if the first of the breadcrumb is short it then is left with a gap after it. eg: Mr. Johnston would end up looking like Mr ... / I can't see a work around for this at this stage.