diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-07-01 23:22:16 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:08:56 +0100 |
commit | f20c5cc5fb0526b5bb9f74393582301ecaebefab (patch) | |
tree | 334a01fa0b03419fdb116b6d2136c9da8518c8c3 | |
parent | 76bc773610ef4f2bc942fda4cf2e0f68fe20f1d5 (diff) | |
download | julius-caesar-f20c5cc5fb0526b5bb9f74393582301ecaebefab.tar.gz |
Improve role and player name display with long user names.
-rw-r--r-- | play.html | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -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> |