diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-07-01 23:22:16 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2021-07-01 23:22:16 +0200 |
commit | 8f408d931bc17bad6703998a6e937d869fd51d26 (patch) | |
tree | 532f4c886102f1554a510d1336175f5008530af4 /public | |
parent | 646c215236e540cee5e9ec44561a74c518515572 (diff) | |
download | server-8f408d931bc17bad6703998a6e937d869fd51d26.tar.gz |
Improve role and player name display with long user names.
Diffstat (limited to 'public')
-rw-r--r-- | public/common/grid.css | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/public/common/grid.css b/public/common/grid.css index eb59357..46c4a7f 100644 --- a/public/common/grid.css +++ b/public/common/grid.css @@ -58,23 +58,28 @@ html, body, div { grid-column: 2; grid-row: 2; border-left: 1px solid black; - overflow-y: clip; + overflow: clip; width: 209px; } -.role_vp { +.role_name { padding-top: 3px; + padding-bottom: 3px; + padding-left: 5px; padding-right: 5px; - padding-left: 3px; + border-bottom: 1px solid black; +} + +.role_vp { float: right; } -.role_name { - padding-top: 3px; - padding-bottom: 3px; - padding-left: 25px; - text-indent: -20px; - border-bottom: 1px solid black; +.role_user { + font-style: italic; + text-align: right; + overflow: clip; + text-overflow: "..."; + white-space: nowrap; } .role .role_name::before { content: "\25cb "; opacity: 0.6; } |