From 17f8e08d002af87a7240e769189b02198b6d1396 Mon Sep 17 00:00:00 2001 From: "Huanzhi (Hans) Mao" Date: Tue, 27 Feb 2024 11:59:26 -0800 Subject: [PATCH] more bug fix for leaderboard (#214) Co-authored-by: Shishir Patil --- assets/css/leaderboard.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/assets/css/leaderboard.css b/assets/css/leaderboard.css index dfed1aedb..0ba983cad 100644 --- a/assets/css/leaderboard.css +++ b/assets/css/leaderboard.css @@ -55,15 +55,13 @@ table { width: 100%; table-layout: fixed; border-collapse: collapse; -} - - -#leaderboard { width: auto; /* Allows the table to expand naturally based on content */ border-collapse: collapse; table-layout: auto; /* Default layout for the table */ } + + #leaderboard td, #leaderboard th { word-wrap: break-word; /* Allows words to break and wrap to the next line */ overflow-wrap: break-word; /* Ensures wrapping at break points */