diff options
author | ThibG <thib@sitedethib.com> | 2020-05-03 22:04:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-03 22:04:18 +0200 |
commit | c0b849bdfda8a2386bc85836d2d181890746de98 (patch) | |
tree | f164b7e7305c5730c3a2d584849ed1b686604951 /app/views/admin/reports | |
parent | e223fd8c6190661237ea43e7773e47513c48fd46 (diff) |
Fix use of inline CSS in public pages (#13576)
Change `account_link_to` to use an image tag rather than some inline CSS. Dropped the `size` parameter in the process, but it wasn't used for anything except the default value of 36px. Dropped CSS rules that were always overriden, and defaulted to 36px width and height instead.
Diffstat (limited to 'app/views/admin/reports')
-rw-r--r-- | app/views/admin/reports/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/reports/index.html.haml b/app/views/admin/reports/index.html.haml index 0263b80fb..2149fcc46 100644 --- a/app/views/admin/reports/index.html.haml +++ b/app/views/admin/reports/index.html.haml @@ -25,7 +25,7 @@ - target_account = reports.first.target_account .report-card .report-card__profile - = account_link_to target_account, '', size: 36, path: admin_account_path(target_account.id) + = account_link_to target_account, '', path: admin_account_path(target_account.id) .report-card__profile__stats = link_to t('admin.reports.account.notes', count: target_account.targeted_moderation_notes.count), admin_account_path(target_account.id) %br/ |