#5310 (Floating images should align correctly)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kokkuvõte
Wherever we have the blog plugin, the demo shows the first four blog entries, three of them have an image, and these images are meant to float on the left side. But usually they appear "stacked upon each other" because the preview paragraph uses less vertical space than the image.
Before:
After:
Children
Kommentaarid
- 2 aastat, 10 kuud ago by Luc Saffre about #5310 (Floating images should align correctly) : I fixed this, but maybe using brute force: I added the clearfix style definition to our config/react/main.html template.
- 2 aastat, 10 kuud ago by Luc Saffre about #5310 (Floating images should align correctly) : Seems that we want to add the [url www.w3schools.com/Css/css_float_clear.asp clearfix] class to the paragraph returned by as_paragraph().
- 2 aastat, 10 kuud ago by Luc Saffre about #5310 (Floating images should align correctly) : Created new Ticket #5310 (Floating images should align correctly).