diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-09-05 10:19:57 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-09-05 18:35:37 +0200 |
commit | be5a1faf70b62b3075bace2d3578e781fbd871f7 (patch) | |
tree | 1c8a0eafc690b5e0057e82a19329d23f2fc60383 /apps/comments/css | |
parent | 63ab5d919ea3912ffc5d33c14ed41bee8e5db598 (diff) | |
download | nextcloud-server-be5a1faf70b62b3075bace2d3578e781fbd871f7.tar.gz nextcloud-server-be5a1faf70b62b3075bace2d3578e781fbd871f7.zip |
Ensure that the user name is shown in bold in mentions
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 <danxuliu@gmail.com>
Diffstat (limited to 'apps/comments/css')
-rw-r--r-- | apps/comments/css/comments.scss | 5 |
1 files changed, 5 insertions, 0 deletions
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; + } } } |