mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
js: Don't word-wrap the status bar
With word-wrapping disabled, long status-bar texts fall off the right-hand end rather than wrapping onto an invisible second line. This is less confusing because it makes the overflow more obvious. I've also turned on "text-overflow: ellipsis" for extra obviousness. Finally, this also the need to explicitly set the height of the status bar, not that that was doing any harm.
This commit is contained in:
@ -246,8 +246,9 @@ EOF
|
|||||||
|
|
||||||
#statusbar {
|
#statusbar {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 1.2em;
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
background: #d8d8d8;
|
background: #d8d8d8;
|
||||||
border-left: 2px solid #c8c8c8;
|
border-left: 2px solid #c8c8c8;
|
||||||
border-top: 2px solid #c8c8c8;
|
border-top: 2px solid #c8c8c8;
|
||||||
|
Reference in New Issue
Block a user