Adriano Faria Posted Monday at 11:38 AM Posted Monday at 11:38 AM (edited) 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 Monday at 12:05 PM by Adriano Faria Hatsu and teraßyte 2
SeNioR- Posted Tuesday at 12:21 PM Posted Tuesday at 12:21 PM (edited) 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 Tuesday at 12:22 PM by SeNioR-
Adriano Faria Posted Tuesday at 12:25 PM Author Posted Tuesday at 12:25 PM (edited) 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 Tuesday at 12:31 PM by Adriano Faria
Recommended Posts