From: Hypolite Petovan <hypolite@mrpetovan.com>
Date: Fri, 15 Feb 2019 03:17:08 +0000 (-0500)
Subject: Switch tag of expanded like list to paragraph
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=642f9409a77e839cd23a6aec7de5965d617f3e68;p=friendica.git

Switch tag of expanded like list to paragraph
---

diff --git a/include/conversation.php b/include/conversation.php
index d7e3d54808..23a0dcbf29 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -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,
diff --git a/view/global.css b/view/global.css
index 6b0f38a071..afab5d9032 100644
--- a/view/global.css
+++ b/view/global.css
@@ -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
index 0000000000..b55f8fa043
--- /dev/null
+++ b/view/theme/frio/templates/voting_fakelink.tpl
@@ -0,0 +1,2 @@
+
+<p>{{$phrase nofilter}}</p>