sourcebans-pp icon indicating copy to clipboard operation
sourcebans-pp copied to clipboard

Short_name: use same value for all truncate maxvalue

Open Rushaway opened this issue 2 years ago • 0 comments

Description

Use the same max value for truncate short_name like in page.home.php#L42

Motivation and Context

Fix: https://github.com/sbpp/sourcebans-pp/issues/909

How Has This Been Tested?

  • Ban someone
  • Edit the ban with one of these name (work with all nickname with special chars or emoji)
  • Bug triggered : image

Screenshots (if appropriate):

Default theme: image Custom theme: image

Types of changes

  • [X] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [X] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [X] I have updated the documentation accordingly.
  • [X] I have read the CONTRIBUTING document.

Rushaway avatar Jul 16 '23 09:07 Rushaway