Robostagram / Robotagram

The original game that popped out of the attic !
5 stars 0 forks source link

header auto-thickness fails #1

Closed makemeunsee closed 12 years ago

makemeunsee commented 12 years ago

open a game, move a hundred times (or 120): the header spreads over 2 lines instead of just 1.

tsimbalar commented 12 years ago

Yep, noticed it already :-/ Probably need to make the placeholder for the score a bit wider so that 3 digits can fit (but then, what if we reach 1000 ?).

Doing this also means we lose a bit of space when scoe is under 100 moves ...

makemeunsee commented 12 years ago

we can limit moves to 99

tsimbalar commented 12 years ago

we can just expect people not to reach 100 moves :)

makemeunsee commented 12 years ago

maybe but no we should punish them if they do.

tsimbalar commented 12 years ago

boarf, I'll just make it a tiny bit wider, and voilà ...

this would do it :

a#currentScore { width: 1.7em; font-size:2em; color:white; text-align: center; padding-right: 0px; padding-left: 0px; overflow:hidden; }