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

View File

@ -130,7 +130,7 @@ class PhotosIndex extends SubTemplate
<div class="column_portrait"> <div class="column_portrait">
<div style="border-color: #', $this->color($image), '" class="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 ' echo '
</div> </div>
@ -142,7 +142,7 @@ class PhotosIndex extends SubTemplate
echo ' echo '
<div style="border-color: #', $this->color($image), '" class="landscape">'; <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 ' echo '
</div>'; </div>';