mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Fix album in newer browsers
This commit is contained in:
parent
fce3786634
commit
6c872cdeca
2 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue