Klimaat-Helpdesk / website

Code behind https://www.klimaathelpdesk.org/
GNU General Public License v3.0
5 stars 5 forks source link

Images included through the rich text do not render nicely #96

Open aquilesC opened 3 years ago

aquilesC commented 3 years ago

Images inserted through the rich text look unstyled (they are full-width and the caption is not related to the image but is extra text).

Screenshot 2021-05-03 at 09 32 31
daanreijnders commented 3 years ago

I just saw that some images are not rendering correctly anymore, I think due to a style update (which looks really pretty, though!)

Here's an example: https://www.klimaathelpdesk.org/answers/is-de-productie-van-windturbines-en-zonnepanelen-schadelijk-voor-het-milieu/

image

aquilesC commented 3 years ago

Oh, yeah, I tried to make the images no higher than the view-port so it's always clear there's text after the figure and forgot to set the with to auto. Your example is actually good because it has the message about text continuing after the figure, so that problem should be gone soon.

aquilesC commented 3 years ago

Should be solved now, could you check, @daanreijnders ? It should also look nice on mobile. In any case, this issue is more global than the few tweaks just introduced.

daanreijnders commented 3 years ago

Yes, it's fixed. Thanks Aquiles! And agreed that image formatting is something to think about in the future, but this is a nice start.