Switch tag of expanded like list to paragraph
This commit is contained in:
parent
c8a7c95279
commit
642f9409a7
3 changed files with 12 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
2
view/theme/frio/templates/voting_fakelink.tpl
Normal file
2
view/theme/frio/templates/voting_fakelink.tpl
Normal file
|
@ -0,0 +1,2 @@
|
|||
|
||||
<p>{{$phrase nofilter}}</p>
|
Loading…
Reference in a new issue