New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There's a couple of layouting/responsiveness issues in the OpenTTD website. #117
Comments
The layout of the OpenTTD-website is currently not responsive at all and there are several further issues. But yes, the layout-problems does exist. I can confirm your first point without further checks. I set a minimal font size of 14px in my browser, what breaks the navigation bar even with the original English item texts. For a menu that is able to overflow the whole layout has to be reworked. That is, because many items are tied to background graphics with their fix sizes. That pieces must get untied one by one (i.e. by dividing the background graphics into several parts or replacing parts of the background graphics by background colours and so on) what is (IMHO) a 1000-parts-puzzle in itself. |
I checked again the OpenTTD website on Google Translate, and the following points can be made:
|
My post is referring to the preceding posting of @James103.
|
Updated with an image about the right-to-left situation and a note that these were just the results from an earlier pull request. |
I've gone through the entire list of languages on google translate, the menu no longer overflows for any of them (though I am missing suitable fonts for a few) 4 should be fixed by #132 |
As far as I can tell, there's no way to fix this. "to left" is a property of the linear-gradient that does the fade, and isn't altered by google translate or whatever else does the translation. Perhaps you should take that up with Google :) |
For the records: FACK, but to be fair, if the site in itself would be delivered in a rtl-language, the solution would be simple.
edit: At that point the structure of the corresponding CSS-rules are debatable. For every of the (currently) possible screenshots a distinct block for setting the background image and the gradient exists. With own rules for rtl-languages we would double the amount of rulesets. |
Seems reasonable, feel free to PR it (a change like this should be easily done by the web interface, if you're opposed to making a checkout) |
Took another look at this. Seems like Google Translate has updated how they do things now, as it seems like elements are no longer swapping sides. Happy to call this done? |
Yes, we can call this resolved. |
I ran openttd.org through Google Translate (https://translate.google.com/translate?source=osdd&sl=en&tl=es&u=openttd.org), and found the following layouting/responsiveness problems along the way:
Todo:
The text was updated successfully, but these errors were encountered: