3

I changed my name on Meta Stack Exchange earlier today. I used 24 of the 30 allowed characters:

Mooseman is eating pizza

However, now on questions I have asked, and answers I posted or edited, it shows my name as

Mooseman is eating pizz

According to one source, 'pizz' is a shortened version of 'pizzicato', which is

a note or passage played by plucking strings

...but that's besides the point. Since 30 characters are allowed, and fewer than that are guaranteed to be visible...

I propose that the name div gets text-overflow: ellipsis; to provide an ellipsis after its truncated version.

  • So change your name... easy fix. – nicael Dec 5 '14 at 20:04
  • Not sure that would be an improvement in your case: i.stack.imgur.com/cx3uJ.png – Oded Dec 5 '14 at 20:07
  • 8
    @Oded Sure it will be, pi is more tasty than pizz :P – nicael Dec 5 '14 at 20:07
  • 1
    What about: Mooseman's eating pizza ? (that suggested, I couldn't hazard a guess at what size pizza you ordered, given this question is 2 days old... Perhaps just a full name change to "Mooseman's ready to pop") – James Dec 7 '14 at 21:45
  • @James what is that ' doing there? – user213963 Dec 8 '14 at 4:38
  • @James I have no objections to Mooseman's eating pizza, but I can't change my name on MSE until next month because of the 30-day waiting period. – Mooseman Dec 8 '14 at 12:50
  • 1
    @MichaelT It's replicating a space and an i, as in is. – James Dec 8 '14 at 16:33
11

It actually wouldn't require any JavaScript. They could easily fix that with CSS:

.user-info .user-details {
    text-overflow: ellipsis;
}

Personally I think it makes more sense to indicate that the name has been truncated, rather than just truncating and letting people wonder.

  • 11
    Now just need someone to test this on Safari to make sure it doesn't burn down your house. – Shog9 Dec 5 '14 at 20:11
  • @Shog Now I am afraid to test it... Anyway, thanks for warning :D And, assuming my house is SE, ain't you afraid that it will blow up? – nicael Dec 5 '14 at 20:12
  • 1
    @Shog9 Seems to work fine. – Qix Dec 5 '14 at 20:20
  • @animuson This would be perfect; it just needs to be implemented. – Mooseman Dec 6 '14 at 17:26

You must log in to answer this question.

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