Flexbox layout for component

5 years 3 weeks ago #3606 by bram

I'm working an a new multicolumn layout for the component. This layout is a bit like mcol but uses the relative new flexbox css to align the elements and to correct the heights of those same elements. The later is quite a problem since the images from different merchants have different aspect ratios.

it works pretty well on modern browsers. I can't test it on all browsers feedback is appreciated.

demo using the protostar template: j3.gryla.biz/normaal

I noticed some add behaviour with the images in firefox sometimes.

The layout should work on older browser although it will/might show large gaps if the images have different aspect ratios.

For testing the layout can be found here : svn.brambring.nl/svn/xmlstuff/datafeeds/...te/views/items/tmpl/ and will be added to the download later

  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • The following user(s) said Thank You: prijsmeter

    Please Log in to join the conversation.

    Time to create page: 0.061 seconds
    Powered by Kunena Forum