Right-align the numeric columns.
The Game.printTable() method now right-aligns the name, rank, and score columns, by giving their cells a different CSS class.
This commit is contained in:
parent
aef04a38e1
commit
31174f58ee
2 changed files with 17 additions and 9 deletions
|
|
@ -42,3 +42,9 @@ span.sdata {
|
|||
display: table-cell;
|
||||
padding: 0 1em;
|
||||
}
|
||||
|
||||
span.sdatar {
|
||||
display: table-cell;
|
||||
padding: 0 1em;
|
||||
text-align: right;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue