On 12/11/2013 10:31 PM, Juliusz Gonera wrote:You open your browser back up and you want to see the full article name you're editing.
However, it might be better to wrap the title (language aside, it could
provide better usability for some scenarios, e.g. if you lock your phone
when editing, then come back to it and want to see what page you're on).
I'm not sure if I understand the example use case.
I'm suggesting using the browser's normal wrapping algorithm (the same one a normal paragraph or div uses), rather than truncating or splitting the string based on an explicit calculation.
Let's say we do it in JavaScript, we know the browser window width, but we don't know how many
characters will fit in a single line... For those reasons I'd rather
stick with text-overflow: ellipsis in CSS.
Matt Flaschen
_______________________________________________
Design mailing list
Design@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/design