Skip to content

Commit

Permalink
another attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinland committed Sep 7, 2024
1 parent fdc64ee commit 2b56f48
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,12 @@ function displayHand(hand, id) {
}

elem = document.getElementById(id);
elem.innerHTML = ("<table style='padding=0px;'>" +
displayHolding("&spades;", hand.spades) +
elem.innerHTML = (
"<table style='border-spacing: 0; border-collapse: collapse;'>" +
displayHolding( "&spades;", hand.spades) +
displayHolding(red("&hearts;"), hand.hearts) +
displayHolding(red("&diams;"), hand.diamonds) +
displayHolding("&clubs;", hand.clubs) +
displayHolding( "&clubs;", hand.clubs) +
"</table>");
elem.style = "word-spacing:-0.1em;"
}
Expand Down

0 comments on commit 2b56f48

Please sign in to comment.