aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-05-22 02:01:58 +0200
committerGitHub <noreply@github.com>2020-05-21 21:01:58 -0300
commit035db780180269e7738b78f83acecbcd6ddb5717 (patch)
tree06c56a7eabf4999fc9641c1d86f565b65214e2a4 /web_src/less
parent460bc32c71169d85525acfacc0074d36b2023b1c (diff)
downloadgitea-035db780180269e7738b78f83acecbcd6ddb5717.tar.gz
gitea-035db780180269e7738b78f83acecbcd6ddb5717.zip
Ensure emoji render with regular font-weight (#11541)
Emoji characters don't support bold attributes and may do weird things like rendering monochrome when bolded.
Diffstat (limited to 'web_src/less')
-rw-r--r--web_src/less/_base.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index 4fa32aad67..b926685415 100644
--- a/web_src/less/_base.less
+++ b/web_src/less/_base.less
@@ -1257,9 +1257,9 @@ i.icon.centerlock {
.reaction {
font-size: 1.5em;
line-height: 1.2;
- font-weight: 400;
+ font-style: normal !important;
+ font-weight: normal !important;
vertical-align: middle;
- font-style: normal;
}
#issue-title > .emoji {