From 150ae5fc5dc2275ea54d6490fcc41a4a847c6d64 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Thu, 18 Jun 2026 09:42:03 +0100 Subject: Replace float+clear grid with flexbox in auto_flow gallery MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Float+clear can't produce equal-height rows — variable-height thumbnails caused items to misalign regardless of where clears fired. Switch the container to .fisheye-flow (flex, flex-wrap:wrap): Bootstrap col-* widths still control breakpoints, flex rows are automatically equal-height. Removed counter, clear divs, and redundant col-xs-12 from inner elements. Co-Authored-By: Claude Sonnet 4.6 --- gallery_views/auto_flow/fisheye_auto_flow_inc.tpl | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/gallery_views/auto_flow/fisheye_auto_flow_inc.tpl b/gallery_views/auto_flow/fisheye_auto_flow_inc.tpl index 6a57b6b..e1a1f4f 100755 --- a/gallery_views/auto_flow/fisheye_auto_flow_inc.tpl +++ b/gallery_views/auto_flow/fisheye_auto_flow_inc.tpl @@ -17,32 +17,25 @@ {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$gContent->mInfo} -
- {counter assign="imageCount" start="0" print=false} - {assign var="max" value=100} +
{foreach from=$gContent->mItems item=galItem key=itemContentId}
- -- cgit v1.3