Use Bootstrap for album/photo grid #31

Merged
Aaron merged 8 commits from bootstrap-tiles into master 2023-04-05 17:08:17 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit be909bf54d - Show all commits

View File

@ -169,6 +169,6 @@ class PhotoMosaic
if ($num_portrait > $num_landscape) if ($num_portrait > $num_landscape)
return [$photos, 'portraits']; return [$photos, 'portraits'];
else else
return [$photos, 'row']; return [$photos, 'landscapes'];
} }
} }

View File

@ -229,7 +229,7 @@ class PhotosIndex extends Template
</div>'; </div>';
} }
protected function row(array $photos) protected function landscapes(array $photos)
{ {
echo ' echo '
<div class="row g-5 mb-5 tile-row-landscapes">'; <div class="row g-5 mb-5 tile-row-landscapes">';