Merge branch 'fix/9' of Public/pics into master

This commit is contained in:
Roflin 2019-03-16 12:12:13 +01:00 committed by Gitea
commit 6a7c7af7b8
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ class PhotosIndex extends SubTemplate
<div class="column_portrait">
<div style="border-color: #', $this->color($image), '" class="portrait">';
$this->photo($image, static::PORTRAIT_WIDTH, static::PORTRAIT_HEIGHT, 'top');
$this->photo($image, static::PORTRAIT_WIDTH, static::PORTRAIT_HEIGHT, 'centre');
echo '
</div>
@ -142,7 +142,7 @@ class PhotosIndex extends SubTemplate
echo '
<div style="border-color: #', $this->color($image), '" class="landscape">';
$this->photo($image, static::TILE_WIDTH, static::TILE_HEIGHT, 'top');
$this->photo($image, static::TILE_WIDTH, static::TILE_HEIGHT, 'centre');
echo '
</div>';