summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-07-01 23:22:16 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-17 12:53:17 +0100
commit7484d5f91fb297939b517567cb7dbeec8eb650c6 (patch)
treeb9baa11af6c7d7bb396506a4205574e65efc1a46
parent507c454953003292b1d0fde798a395674bafd321 (diff)
downloadhammer-of-the-scots-7484d5f91fb297939b517567cb7dbeec8eb650c6.tar.gz
Improve role and player name display with long user names.
-rw-r--r--play.html14
1 files changed, 10 insertions, 4 deletions
diff --git a/play.html b/play.html
index 1d44f00..1d46bc5 100644
--- a/play.html
+++ b/play.html
@@ -368,16 +368,22 @@ div.card_3{background-image:url('cards/card_3.jpg')}
<div class="grid_role">
<div class="role one">
- <div class="role_vp" id="england_vp"></div>
- <div class="role_name">England (<span class="role_user">$USER</span>)</div>
+ <div class="role_name">
+ England
+ <div class="role_vp" id="england_vp"></div>
+ <div class="role_user">-</div>
+ </div>
<div class="role_info">
<div class="small_card card_back" id="england_card"></div>
</div>
</div>
<div class="role two">
- <div class="role_vp" id="scotland_vp"></div>
- <div class="role_name">Scotland (<span class="role_user">$USER</span>)</div>
+ <div class="role_name">
+ Scotland
+ <div class="role_vp" id="scotland_vp"></div>
+ <div class="role_user">-</div>
+ </div>
<div class="role_info">
<div class="small_card card_back" id="scotland_card"></div>
</div>