From 26f26a1722d6301d680bff4945446ad22d00c428 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Mon, 27 Nov 2023 19:23:48 -0600 Subject: [PATCH] Limit user-table column width --- resources/users.scss | 4 +++- templates/contest/ranking-css.html | 4 ---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/resources/users.scss b/resources/users.scss index 841e7bd..1a4041c 100644 --- a/resources/users.scss +++ b/resources/users.scss @@ -59,8 +59,10 @@ th.header.rank { vertical-align: middle; } - .rank, .points, .problems, .username { + .rank, .points, .problems, .user-name { white-space: nowrap; + max-width: 20em; + overflow: hidden; } .about-td { diff --git a/templates/contest/ranking-css.html b/templates/contest/ranking-css.html index 179a4f8..0c51968 100644 --- a/templates/contest/ranking-css.html +++ b/templates/contest/ranking-css.html @@ -1,8 +1,4 @@