From 38609133b1834ccbbcf564fbf4e55489d422bb4c Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 30 Sep 2022 13:16:48 +0000 Subject: [PATCH] [report_image] force wrapping --- ext/report_image/style.css | 5 +++++ ext/report_image/theme.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 ext/report_image/style.css diff --git a/ext/report_image/style.css b/ext/report_image/style.css new file mode 100644 index 00000000..7fd0e56a --- /dev/null +++ b/ext/report_image/style.css @@ -0,0 +1,5 @@ +#reportedimage .reason { + max-width: 30em; + overflow-wrap: break-word; + word-wrap: break-word; +} diff --git a/ext/report_image/theme.php b/ext/report_image/theme.php index 12c565ef..fdfd0324 100644 --- a/ext/report_image/theme.php +++ b/ext/report_image/theme.php @@ -29,7 +29,7 @@ class ReportImageTheme extends Themelet $h_reportedimages .= " {$image_link} - Report by $userlink: $h_reason + Report by $userlink: $h_reason ".make_form(make_link("image_report/remove"))."