Open smismib opened 1 year ago
Thank you for your PR but I do not think this is ready to be merged as is.
Are you sure this is not caused by either of the following?:
I do not agree with your solution of adjusting CSS in a random util function.
My suspicion is this needs to live next to the wage feature.
Please take a look at Foxtrick.Pages.Player.getWage
referenced by ExtendedPlayerDetails
module. It's likely where the problem actually lies.
RTL CSS problem My language is not RTL. I haven't looked at the code RTL support. I am not sure how RTL could potentially affect this.
Parsing failure (I see "undefined" in the screenshot) The parsing failure always shows up for me. I can take a look, find out what goes wrong, and make a fix if possible.
The problem is regarding the width of the section. Wage is one part of it. The other part which may make it too wide is a row called "U21 World Cup Eligibility". See the screenshot (and it's without the parsing error)
May I have your suggestion on this since changing things in Wage alone won't let us get rid of the problem?
Texts are too long if wage options are enabled, causing the problem in the div on its right in certain languages (Chinese and Japanese at least as far as I know).
Restrict the width of player info table on player detail page if the skills are visible under the new design.
Current Chinese version behaviour
After the fix
Current English verison
English version after the fix