15

See sample image below (red box in it). For a while I was wondering what the number 29 was after Macro. Initially thought it was his repuration points.

Can the code add a non-breaking space somehow between the number and "minutes ago"? What do the UI experts think?

Apologies if this seems nitpicking. That wasn't the intention!

Enter image description here

(It is a tiny matter; so maybe it's not worth a fix.)

  • @Anna, since you tagged this as by design, is there any official stance on writing Stack Exchange vs Stack Exchange? – Arjan Aug 11 '13 at 9:45
  • @Arjan I'm not aware of any debate around that, nevermind an official stance. If the trademark guidelines don't specify otherwise, I think either is fine. – Adam Lear Aug 13 '13 at 18:20
  • Okay, too bad, @Anna ;-) (I dislike seeing Stack Exchange in the Markdown, and I dislike seeing a lot of whitespace at the end of a line when a browser wraps the two words together, especially on small screens on which lines might be short. But I'm not losing any sleep over it.) – Arjan Aug 13 '13 at 18:25
  • (As an aside, @Anna, the "debate" about   so far is only in comments, like here. Too bad I cannot search my comments! ;-)) – Arjan Aug 17 '13 at 8:26
  • 2
    Whether or not not breaking "Stack Exchange" is important, a non-breaking space between a measurement and its unit (e.g, 1 lb, 29 minutes, etc.) seems like a good idea, and it's suggested by at least some people. E.g., the accepted answer to english.stackexchange.com/q/28467/45891 says "It is advisable to use a non-breaking space (also known as a hard space) to prevent the end-of-line displacement of elements that would be awkward at the beginning of a new line: in expressions in which figures and abbreviations (or symbols) are separated by a space (e.g. 17 kg, AD 565, 2:50 pm);" – Joshua Taylor Nov 8 '13 at 19:20
5

There's a related question on English.SE: When is it appropriate to use non-breaking spaces?, and one of the important cases that's brough up is between numbers and units. The accepted answer cites Wikipedia's Manual of Style on Non-breaking spaces:

It is advisable to use a non-breaking space to prevent the end-of-line displacement of elements that would be awkward at the beginning of a new line:

in expressions in which figures and their related unit abbreviations or symbols are separated by a space (e.g. 17 kg, AD 565, 2:50 pm);

Between "29" and "minutes" seems like just such a case.

1

If this is deemed necessary to fix, the simplest solution would be to place an intentional line break prior to the hyphen before the username, and right-align the newly created "time-stamped signature" line.

  • 1
    Since it's a nitpicky question, I'll pick nits: It's a endash, not a hyphen: (endash: –) (hyphen: -) (for completeness, emdash: —). An intentional line break doesn't really seem simpler than a non-breaking space between "29" and "minutes", but the latter has traditional typesetting rules in support of it. – Joshua Taylor Nov 8 '13 at 19:28
  • @JoshuaTaylor - I think you might need to be banished back to the depths of english.stackexchange.com . :P – JoshDM Nov 12 '13 at 3:46
  • It's not even english.SE that got me to this point (though it's what I quoted in my answer), but rather working with TeX and LaTeX. – Joshua Taylor Nov 12 '13 at 13:03
  • 2
    For the record, I had an experiment and the right-aligned signature does look pretty schmick. matthew.kerwin.net.au/misc/meta.stack-exchange.comment.png – Matty K Dec 8 '13 at 21:37
  • @MattyK - not sure if I like float over non-float, but I do like the right-align. If it was done that way, I wouldn't keep the <s>hy</s>ENDASH. – JoshDM Dec 8 '13 at 23:23
0

I disagree, I think that's fairly self explanatory that the wrapping has occured just as you'd expect white-space: nowrap to.

Besides, reputation isn't shown beside a comment, otherwise I'd support your case (if that were the case, it may read Macro 2345 29 before the line break, which would be a littler uglier :)).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .