Use Bootstrap for album/photo grid #31
@ -169,6 +169,6 @@ class PhotoMosaic
|
||||
if ($num_portrait > $num_landscape)
|
||||
return [$photos, 'portraits'];
|
||||
else
|
||||
return [$photos, 'row'];
|
||||
return [$photos, 'landscapes'];
|
||||
}
|
||||
}
|
||||
|
@ -229,7 +229,7 @@ class PhotosIndex extends Template
|
||||
</div>';
|
||||
}
|
||||
|
||||
protected function row(array $photos)
|
||||
protected function landscapes(array $photos)
|
||||
{
|
||||
echo '
|
||||
<div class="row g-5 mb-5 tile-row-landscapes">';
|
||||
|
Loading…
Reference in New Issue
Block a user