offspot / wikifundi

Create a pre-configured Mediawiki for offline Wikipedia contribution teaching
11 stars 2 forks source link

Display issue on main page of software in French #94

Closed Anthere closed 5 years ago

Anthere commented 5 years ago

the display on the French speaking version is broken. It looks as if the content of the central part of mediawiki was restricted to a max length. This is visible here : http://fr.wikifundi.wikifundi-fr.demo.hotspot.kiwix.org/wiki/Accueil and in attached file. There is no reason to restrict visibility and none of the other pages of the software do that; It was not the case before (results from the work on the log probably) main page

kelson42 commented 5 years ago

So far I can see, this displays what is defined in the source of the page. If this is a bug, it has been there from the beginning. The width of the boxes may become larger if more content is inside.

rgaudin commented 5 years ago

As @kelson42 said, the problem lies in the Accueil WikiCode:

{| style="width:690px; border:none; background:none;"
| style="width:600px; text-align:center; white-space:nowrap; color:#000;" |
[[File:WikiFundi logo.png|300px]]
<div style="font-size:162%; border:none; margin:0; padding:.1em; color:#000;">Bienvenue sur WikiFundi !!</div>
|}

Specifying a fixed width of 690 and 600 for those table elements make them… fixed. One mobile, you get the opposite of the screenshot: top part is smaller than the latter as the table would be larger than the screen.

Anthere commented 5 years ago

fixed somehow