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>
<a href="/photo{$photo->getPrettyId()}?from=album{$album->getId()}"> <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> </a>
</div> </div>
{/foreach} {/foreach}

View file

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