?
avatar chmst
chmst
5 Oct 2020

Issue of @gostn joomla/cassiopeia#158

Steps to reproduce the issue

Add intro images in articles, use align left / right . Then make a blog layout for these articles.

Expected result

Images are pulled left or right as in J3.

Actual result

The float right/left of images is ignored in the blog containers.

avatar chmst chmst - open - 5 Oct 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Oct 2020
avatar ciar4n
ciar4n - comment - 5 Oct 2020

As floated items are ignored on a flex item (https://www.w3.org/TR/css-flexbox-1/#ref-for-propdef-float), there is only 2 possible solutions..

  1. Revert #18319
  2. Re-open #17402
avatar adj9
adj9 - comment - 5 Oct 2020

Setting the Arctic image to the right or left does not change what you see in the frontend. This on J4 connects to the standard template.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/30924.

avatar Quy
Quy - comment - 5 Oct 2020

Related #17399

avatar hans2103
hans2103 - comment - 8 Oct 2020

@ciar4n issue #17402 is your PR. Can you reopen it yourself?
Or copy all changes into a new PR?

I think it's a good idea to move the image to it's own JLayout.
Doing so we can add extra options like lazyloading, wrapping it into a figure, adding figcaption.
Moving it to a JLayout will make my life as a frontender easier.

avatar ciar4n
ciar4n - comment - 9 Oct 2020

@hans2103 Done.. #31017

avatar alikon
alikon - comment - 9 Oct 2020

please test #31017

avatar alikon alikon - close - 9 Oct 2020
avatar alikon alikon - change - 9 Oct 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-10-09 12:11:48
Closed_By alikon

Add a Comment

Login with GitHub to post a comment