From 642f9409a77e839cd23a6aec7de5965d617f3e68 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 14 Feb 2019 22:17:08 -0500 Subject: [PATCH] Switch tag of expanded like list to paragraph --- include/conversation.php | 3 +-- view/global.css | 9 +++++++++ view/theme/frio/templates/voting_fakelink.tpl | 2 ++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 view/theme/frio/templates/voting_fakelink.tpl 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" . ''; + $expanded .= "\t" . ''; } - $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 @@ + +

{{$phrase nofilter}}

-- 2.39.5