Skip to content

Commit 9b10580

Browse files
committed
Fix Firefox showing U+300x in emoji font and more
1 parent 7c1c2c3 commit 9b10580

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

web_src/less/_base.less

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
@font-face {
119119
font-family: system-emoji;
120120
src: local("Apple Color Emoji"), local("Segoe UI Emoji"), local("Noto Color Emoji"), local("Twemoji Mozilla");
121-
unicode-range: ~"U+2310-329F, U+FE0?, U+1F000-1FAFF";
121+
unicode-range: ~"U+2100-2BFF, U+303?, U+329?, U+FE0?, U+1F000-1FAFF";
122122
}
123123

124124
textarea {
@@ -1120,10 +1120,18 @@ footer {
11201120
}
11211121
}
11221122

1123-
.ui.language .menu {
1124-
max-height: 500px;
1125-
overflow-y: auto;
1126-
margin-bottom: 7px;
1123+
.ui.language {
1124+
.menu {
1125+
max-height: 500px;
1126+
overflow-y: auto;
1127+
margin-bottom: 7px;
1128+
}
1129+
1130+
.svg {
1131+
margin-right: 0.15em;
1132+
vertical-align: top;
1133+
margin-top: calc(2em - 16px);
1134+
}
11271135
}
11281136

11291137
.ui {

web_src/less/_font_i18n.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ each(@fonts, {
6868
font-family: @family;
6969
src: @src;
7070
font-weight: @weight;
71-
unicode-range: ~"U+11??, U+2E80-4DBF, U+AC00-D7FF, U+4E00-9FFF, U+FF00-FFEF, U+1F2??";
71+
unicode-range: ~"U+11??, U+2E80-4DBF, U+4E00-9FFF, U+A960-A97F, U+AC00-D7FF, U+F900-FAFF, U+FE00-FE6F, U+FF00-FFEF, U+1F2??, U+2????";
7272
}
7373
}
7474

0 commit comments

Comments
 (0)