Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted December 23, 2024Dec 23 Could you please increase it to 15 files? Always having a gap in the last position is a bit weird. $mostDownloaded = ( Settings::i()->idm_show_most_downloaded ) ? File::getItemsWithPermission( $mostDownloadedWhere, 'file_downloads DESC', 14, 'read', Filter::FILTER_AUTOMATIC, 0, NULL, TRUE ) : array(); Edited December 23, 2024Dec 23 by Adriano Faria
December 24, 2024Dec 24 On 12/23/2024 at 12:38 PM, Adriano Faria said: Could you please increase it to 15 files? It's a bit pointless, because if someone has a higher resolution, the last cell will remain empty, and vice versa, if someone has a smaller one, the cells will be arranged differently. This is how CSS Flex works. Edited December 24, 2024Dec 24 by SeNioR-
December 24, 2024Dec 24 Author 20 minutes ago, SeNioR- said: It's a bit pointless, because if someone has a higher resolution, the last cell will remain empty anyway, and vice versa, if someone has a lower resolution, the cells will be arranged differently. Have you tested? - Mobile: - 1024x768: - 1366x768: - 2560x1080: Edited December 24, 2024Dec 24 by Adriano Faria
December 30, 2024Dec 30 You're right. I haven't checked it. Changing it to 15 should do the trick. Optionally, you can change the layout from 3: .ipsData--mini-grid.ipsData--carousel:has(.ipsData__item:nth-child(9)) { grid-template-rows: repeat(3, auto); } to 2 columns: .ipsData--mini-grid.ipsData--carousel:has(.ipsData__item:nth-child(9)) { grid-template-rows: repeat(2, auto); }