Fix album in newer browsers

This commit is contained in:
Jill Stingray 2020-06-09 13:29:07 +03:00
parent fce3786634
commit 6c872cdeca
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@
</a>
<a href="/photo{$photo->getPrettyId()}?from=album{$album->getId()}">
<img src="{$photo->getURL()}" alt="{$photo->getDescription()}" style="width:unset;max-height:unset;max-width: 188px;" />
<img class="album-photo--image" src="{$photo->getURL()}" alt="{$photo->getDescription()}" style="width:unset;max-height:unset;max-width: 188px;" />
</a>
</div>
{/foreach}

View file

@ -251,7 +251,7 @@ color:
.album-photo {
position: relative;
background-color: darkgrey;
margin: 5pt;
margin: 4pt;
width: calc(33% - 10pt);
height: 82px;
text-align: center;