mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 01:57:44 +00:00
037796971a
## Description: This pull request addresses a layout issue where text in instructions (player icon) would overflow or be cut off, especially when translated into languages with longer word structures (e.g., Dutch, German, French, ...)  _Before_ (web app view)  _After_ (mobile layout) ### 🔧 Changes made: Removed fixed height classes h-8 and md:h-10 from description containers. Allowed natural text wrapping and height growth by relying on min-h only where needed. Added text-center for better alignment and break-words to handle long words gracefully. ### 🧪 Tested in: Dutch German French English Responsive layouts (mobile and desktop) ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory -> UI only - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: RTHOne