Upgrade style of album list
This commit is contained in:
KosFurler 2022-01-24 18:20:42 +03:00
parent 9a42484401
commit e153c5c2f7
3 changed files with 8 additions and 10 deletions

View file

@ -11,7 +11,7 @@
{if sizeof($data) > 0}
<div class="content" n:foreach="$data as $dat">
<table>
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">

View file

@ -28,11 +28,9 @@
{var cover = $x->getCoverPhoto()}
{var preview = is_null($cover) ? "/assets/packages/static/openvk/img/camera_200.png" : $cover->getURL()}
<center style="height: 54pt; width: 140px;">
<a href="/album{$x->getPrettyId()}">
<img src="{$preview}" alt="{$x->getName()}" style="max-height: 100%; max-width: 100%;" />
<img src="{$preview}" alt="{$x->getName()}" style="height: 130px;width: 170px;object-fit: cover;margin-right: 15px;" />
</a>
</center>
{/block}
{block name}
@ -42,6 +40,6 @@
{block description}
<span>{$x->getDescription() ?? $x->getName()}</span><br/>
<span style="color: grey;">{$x->getPhotosCount()} фотографий</span><br/>
<span style="color: grey;">Обновлен {$x->getEditTime() ?? $x->getCreationTime()}</span>
<span style="color: grey;">Создан {$x->getCreationTime()}</span><br/>
<span style="color: grey;">Изменён {$x->getEditTime() ?? $x->getCreationTime()}</span>
{/block}

View file

@ -1581,11 +1581,10 @@ body.scrolled .toTop:hover {
}
.postFeedWrapper {
margin: -10px;
width: 611px;
padding: 4px 8px;
background-color: rgb(240, 240, 240);
border-bottom: 1px solid #ccc;
padding: 4px 8px;
background-color: rgb(240, 240, 240);
border-bottom: 1px solid #ccc;
border-top: 1px solid #ccc;
}
.user-alert {
@ -1803,6 +1802,7 @@ body.scrolled .toTop:hover {
font-weight: bold;
padding-top: 3px;
padding-bottom: 4px;
display: inline-block;
}
.note_header {
background: #f7f7f7;