git ssb

16+

Dominic / patchbay



Commit ed0d0518717fe16a686399588766fb35b3e6e37a

Merge pull request #361 from ssbc/emoji-font-fix

Fix weird emoji font issues
Christian Bundy authored on 1/7/2020, 10:58:30 PM
GitHub committed on 1/7/2020, 10:58:30 PM
Parent: 261718c426b0d5a333dfa4acc00aacf92c5fe394
Parent: 169d5e007b1d1a1621fc112ff9c695e6bb25ef6f

Files changed

app/html/app.mcsschanged
app/styles/mcss/markdown.mcsschanged
app/sync/initialise/styles.jschanged
app/html/app.mcssView
@@ -1,7 +1,7 @@
11 App {
22 background: var(--app-border-background)
3- font-family: arial, sans-serif, NotoColorEmoji
3 + font-family: arial, sans-serif
44
55 overflow: hidden
66
77 min-height: 0px
app/styles/mcss/markdown.mcssView
@@ -94,8 +94,11 @@
9494 list-style-type: none
9595 }
9696 }
9797
98 + (span.emoji) {
99 + font-family: NotoColorEmoji;
100 + }
98101
99102 (img.emoji) {
100103 height: 1.2em
101104 width: 1.2em
app/sync/initialise/styles.jsView
@@ -34,9 +34,9 @@
3434 })
3535 )
3636 document.head.appendChild(
3737 h('style', {
38- innerHTML: when(openDyslexicEnabled, '.App { font-family: OpenDyslexicRegular, arial, sans-serif, NotoColorEmoji; }', '')
38 + innerHTML: when(openDyslexicEnabled, '.App { font-family: OpenDyslexicRegular, arial, sans-serif; }', '')
3939 })
4040 )
4141 }
4242 }

Built with git-ssb-web