Add content warning classnames for pleroma-fe to style

This commit is contained in:
Vivian Lim 2018-06-27 20:39:13 -07:00
parent d386e8a825
commit 9ffe54d70c
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ defmodule Pleroma.Web.TwitterAPI.ActivityView do
content =
if !!summary and summary != "" do
"<span>#{activity.data["object"]["summary"]}</span><br />#{content}</span>"
"<span class=\"contentWarningText\">#{activity.data["object"]["summary"]}</span><br /><span class=\"contentWarning\">#{content}</span>"
else
content
end