From 65b19411a4185877ac30694e0c169c12d2998c07 Mon Sep 17 00:00:00 2001 From: f0x52 Date: Thu, 9 Feb 2023 09:26:35 +0100 Subject: [PATCH] [chore] Fix report username wrapping (#1464) * fix report username wrapping * move report status to separate line on portrait orientation --- web/source/settings/admin/reports/detail.jsx | 2 +- web/source/settings/admin/reports/index.jsx | 2 +- .../settings/admin/reports/username.jsx | 4 ++-- web/source/settings/style.css | 23 ++++++++++++++++++- 4 files changed, 26 insertions(+), 5 deletions(-) diff --git a/web/source/settings/admin/reports/detail.jsx b/web/source/settings/admin/reports/detail.jsx index 20548a720..33464824c 100644 --- a/web/source/settings/admin/reports/detail.jsx +++ b/web/source/settings/admin/reports/detail.jsx @@ -60,7 +60,7 @@ function ReportDetailForm({ data: report }) { return (
-
+
reported
diff --git a/web/source/settings/admin/reports/index.jsx b/web/source/settings/admin/reports/index.jsx index 61483b0d6..61841d180 100644 --- a/web/source/settings/admin/reports/index.jsx +++ b/web/source/settings/admin/reports/index.jsx @@ -89,7 +89,7 @@ function ReportEntry({ report }) {
-
+
reported

diff --git a/web/source/settings/admin/reports/username.jsx b/web/source/settings/admin/reports/username.jsx index 5eeea4310..1680e702b 100644 --- a/web/source/settings/admin/reports/username.jsx +++ b/web/source/settings/admin/reports/username.jsx @@ -36,7 +36,7 @@ module.exports = function Username({ user, link = true }) { ? { fa: "fa-home", info: "Local user" } : { fa: "fa-external-link-square", info: "Remote user" }; - let Element = "span"; + let Element = "div"; let href = null; if (link) { @@ -46,7 +46,7 @@ module.exports = function Username({ user, link = true }) { return ( - @{user.account.acct} + @{user.account.acct}