diff --git a/WebContent/cah.css b/WebContent/cah.css index 68ef803..d4b89a3 100644 --- a/WebContent/cah.css +++ b/WebContent/cah.css @@ -571,6 +571,10 @@ span.debug, span.admin { margin-right: 15px; } -.scorecard_score, .scorecard_player{ +.scorecard_score, .scorecard_player { font-weight:700; } + +.nowrap { + white-space: nowrap; +} diff --git a/WebContent/js/cah.game.js b/WebContent/js/cah.game.js index d434234..18f9224 100644 --- a/WebContent/js/cah.game.js +++ b/WebContent/js/cah.game.js @@ -96,10 +96,11 @@ cah.Game = function(id) { var title = cardSet.getDescription() + ' ' + cardSet.getBlackCardCount() + ' black card' + (cardSet.getBlackCardCount() == 1 ? '' : 's') + ', ' + cardSet.getWhiteCardCount() + ' white card' + (cardSet.getWhiteCardCount() == 1 ? '' : 's') + '.'; - var html = ''; + // that space at the beginning matters + var html = ' '; if (cardSet.isBaseDeck()) { $(".base_card_sets", this.optionsElement_).append(html); } else {