Switch tag of expanded like list to paragraph
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 15 Feb 2019 03:17:08 +0000 (22:17 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 15 Feb 2019 03:17:08 +0000 (22:17 -0500)
include/conversation.php
view/global.css
view/theme/frio/templates/voting_fakelink.tpl [new file with mode: 0644]

index d7e3d54..23a0dcb 100644 (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,
index 6b0f38a..afab5d9 100644 (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;
diff --git a/view/theme/frio/templates/voting_fakelink.tpl b/view/theme/frio/templates/voting_fakelink.tpl
new file mode 100644 (file)
index 0000000..b55f8fa
--- /dev/null
@@ -0,0 +1,2 @@
+
+<p>{{$phrase nofilter}}</p>