summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-07-01 23:22:16 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:08:56 +0100
commitf20c5cc5fb0526b5bb9f74393582301ecaebefab (patch)
tree334a01fa0b03419fdb116b6d2136c9da8518c8c3 /play.html
parent76bc773610ef4f2bc942fda4cf2e0f68fe20f1d5 (diff)
downloadjulius-caesar-f20c5cc5fb0526b5bb9f74393582301ecaebefab.tar.gz
Improve role and player name display with long user names.
Diffstat (limited to 'play.html')
-rw-r--r--play.html14
1 files changed, 10 insertions, 4 deletions
diff --git a/play.html b/play.html
index 07321fe..214fabe 100644
--- a/play.html
+++ b/play.html
@@ -286,14 +286,20 @@ body.shift .block.known:hover {
<div class="grid_role">
<div class="role one">
- <div class="role_vp" id="caesar_vp">1 VP</div>
- <div class="role_name">Caesar (<span class="role_user">$USER</span>)</div>
+ <div class="role_name">
+ Caesar
+ <div class="role_vp" id="caesar_vp">1 VP</div>
+ <div class="role_user">-</div>
+ </div>
<div class="role_info"><div class="small_card card_back" id="caesar_card"></div></div>
</div>
<div class="role two">
- <div class="role_vp" id="pompeius_vp">7 VP</div>
- <div class="role_name">Pompeius (<span class="role_user">$USER</span>)</div>
+ <div class="role_name">
+ Pompeius
+ <div class="role_vp" id="pompeius_vp">7 VP</div>
+ <div class="role_user">-</div>
+ </div>
<div class="role_info"><div class="small_card card_back" id="pompeius_card"></div></div>
</div>