From 3c638501170024e47684276324551207e5fee62c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Wed, 5 Sep 2018 10:19:57 +0200 Subject: [PATCH] Ensure that the user name is shown in bold in mentions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Different browsers use different font weights for strong elements (Chromium uses "bold", but Firefox uses "bolder", which is relative to the font weight of the parent), so now the user name in mentions is explicitly shown with a bold weight. Signed-off-by: Daniel Calviño Sánchez --- apps/comments/css/comments.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/comments/css/comments.scss b/apps/comments/css/comments.scss index 75daeff875f..56d55e1c86f 100644 --- a/apps/comments/css/comments.scss +++ b/apps/comments/css/comments.scss @@ -171,6 +171,11 @@ margin-left: 0; margin-right: 2px; } + strong { + /* Ensure that the user name is shown in bold, as different browsers + * use different font weights for strong elements. */ + font-weight: bold; + } } } -- 2.39.5