© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BattleMetricsB
BattleMetrics•2y ago•
1 reply
root_spb

The problem of long nicknames

There was a problem with the layout of the table with bans (see screenshot).

The player indicated a very long nickname.
I solved this problem for myself by injecting the following code into CSS:
tbody tr td {
tbody tr td {

      max-width: 200px; /* For example, enter the maximum width here in pixels or other units */
      max-width: 200px; /* For example, enter the maximum width here in pixels or other units */

     white-space: nowrap; /* Prevent text wrapping */
     white-space: nowrap; /* Prevent text wrapping */

     overflow: hidden; /* Hide out-of-bounds content */
     overflow: hidden; /* Hide out-of-bounds content */

     text-overflow: ellipsis; /* Add ellipses for trimmed text */
     text-overflow: ellipsis; /* Add ellipses for trimmed text */

}
}


However, the problem is with all the employees, and they do not know CSS. Please add to the website improvement plan.
2024-04-14_13h53_01.png
2024-04-14_13h03_12.png
BattleMetricsJoin
4,200Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

the problem with the online indicator through the bot
BattleMetricsBBattleMetrics / support-forum
6mo ago
SHARE LINK TOO LONG
BattleMetricsBBattleMetrics / support-forum
3mo ago
Transfer of ownership of the server
BattleMetricsBBattleMetrics / support-forum
10mo ago
Payment problem
BattleMetricsBBattleMetrics / support-forum
14mo ago