From 9024a7f97781497f45270952b42acbe1214efb59 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 1 Jul 2021 23:22:16 +0200 Subject: Improve role and player name display with long user names. --- play.html | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/play.html b/play.html index 6d508ed..7ab3456 100644 --- a/play.html +++ b/play.html @@ -66,8 +66,8 @@ } .role_info { - padding: 5px 20px; - white-space: pre-wrap; + padding: 5px 15px; + white-space: pre-line; } #tooltip.card { @@ -299,7 +299,7 @@ svg circle, .piece {
-
$PROMPT
+
Connecting...
@@ -311,14 +311,20 @@ svg circle, .piece {
-
30
-
United States ($USER)
-
0 cards in hand
+
+ United States +
30
+
-
+
+
Hand: Draw: Discard:
-
0
-
Tripolitania ($USER)
-
0 cards in hand
+
+ Tripolitania +
0
+
-
+
+
Hand: Draw: Discard:
-- cgit v1.2.3