mirror of
https://github.com/openvk/openvk
synced 2025-07-07 08:19:49 +03:00
Correctly display long names when displaying only creator without comment
This commit is contained in:
parent
848683b1d6
commit
af92662ef9
2 changed files with 4 additions and 3 deletions
|
@ -116,7 +116,8 @@
|
||||||
<img class="ava" src="{$author->getAvatarUrl()}" />
|
<img class="ava" src="{$author->getAvatarUrl()}" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="info info-without-subtitle-centered" n:if="empty($club->getOwnerComment())">
|
{* Это наверное костыль, ну да ладно *}
|
||||||
|
<div class="info{if strlen($author->getCanonicalName()) < 22} info-centered{/if}" n:if="empty($club->getOwnerComment())">
|
||||||
<a href="{$author->getURL()}" class="title">{$author->getCanonicalName()}</a>
|
<a href="{$author->getURL()}" class="title">{$author->getCanonicalName()}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="info" n:if="!empty($club->getOwnerComment())">
|
<div class="info" n:if="!empty($club->getOwnerComment())">
|
||||||
|
@ -132,7 +133,7 @@
|
||||||
<div>
|
<div>
|
||||||
<div class="content_subtitle">
|
<div class="content_subtitle">
|
||||||
{tr("administrators", $club->getManagersCount(true))}
|
{tr("administrators", $club->getManagersCount(true))}
|
||||||
<div style="float: right;">
|
<div style="float:right;">
|
||||||
<a href="/club{$club->getId()}/followers?onlyAdmins=1">{_"all_title"}</a>
|
<a href="/club{$club->getId()}/followers?onlyAdmins=1">{_"all_title"}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1483,7 +1483,7 @@ body.scrolled .toTop:hover {
|
||||||
width: 134px;
|
width: 134px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.avatar-list-item .info-without-subtitle-centered {
|
.avatar-list-item .info-centered {
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue