From 6572b735b8bc9ef7c4af8e2b6268f1ff318496dd Mon Sep 17 00:00:00 2001 From: lavigor Date: Sat, 15 Sep 2018 17:28:38 +0300 Subject: [PATCH] [ticket/13713] Fix for current avatars PHPBB3-13713 --- phpBB/adm/style/admin.css | 5 +++++ phpBB/styles/prosilver/theme/mentions.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index 19a277e18d..b7c521a385 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -1721,6 +1721,11 @@ fieldset.submit-buttons legend { height: 40px; } +.mention-media-avatar img { /* TODO: reconsider for the future design */ + max-width: 100%; + max-height: 100%; +} + svg { /* TODO: remove it after general normalization */ fill: currentColor; } diff --git a/phpBB/styles/prosilver/theme/mentions.css b/phpBB/styles/prosilver/theme/mentions.css index bb9ffff8d7..3400dde454 100644 --- a/phpBB/styles/prosilver/theme/mentions.css +++ b/phpBB/styles/prosilver/theme/mentions.css @@ -43,6 +43,11 @@ height: 40px; } +.mention-media-avatar img { /* TODO: reconsider for the future design */ + max-width: 100%; + max-height: 100%; +} + svg { /* TODO: remove it after general normalization */ fill: currentColor; }