Switch tag of expanded like list to paragraph

This commit is contained in:
Hypolite Petovan 2019-02-14 22:17:08 -05:00
parent c8a7c95279
commit 642f9409a7
3 changed files with 12 additions and 2 deletions

View File

@ -1082,10 +1082,9 @@ function format_like($cnt, array $arr, $type, $id) {
break;
}
$expanded .= "\t" . '<div class="wall-item-' . $type . '-expanded" id="' . $type . 'list-' . $id . '" style="display: none;" >' . $explikers . EOL . '</div>';
$expanded .= "\t" . '<p class="wall-item-' . $type . '-expanded" id="' . $type . 'list-' . $id . '" style="display: none;" >' . $explikers . EOL . '</p>';
}
$phrase .= EOL;
$o .= Renderer::replaceMacros(Renderer::getMarkupTemplate('voting_fakelink.tpl'), [
'$phrase' => $phrase,
'$type' => $type,

View File

@ -90,6 +90,15 @@ span.connector {
margin-right: 0px;
}
.wall-item-like-expanded,
.wall-item-dislike-expanded,
.wall-item-attendyes-expanded,
.wall-item-attendno-expanded,
.wall-item-attendmaybe-expanded {
margin: 0;
}
.type-link blockquote, .type-video blockquote {
margin-left: 0px;
max-height: 160px;

View File

@ -0,0 +1,2 @@
<p>{{$phrase nofilter}}</p>