Use Bootstrap for album/photo grid #31
@ -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'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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">';
|
||||||
|
Loading…
Reference in New Issue
Block a user