From f4aff3964bf0032dd4296b8dfd876c9eba44b7be Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Sun, 19 Jun 2022 22:44:24 +0200 Subject: [PATCH] Fix emojis displaying incorrectly (#2327) --- src/renderer/App.css | 2 +- .../watch-video-description/watch-video-description.css | 2 +- src/renderer/videoJS.css | 2 +- src/renderer/views/Channel/Channel.css | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/renderer/App.css b/src/renderer/App.css index dc7b3a87..70b98ebb 100644 --- a/src/renderer/App.css +++ b/src/renderer/App.css @@ -6,7 +6,7 @@ #app { display: flex; flex-wrap: wrap; - font-family: 'Roboto', sans-serif; + font-family: 'Roboto', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; } .routerView { diff --git a/src/renderer/components/watch-video-description/watch-video-description.css b/src/renderer/components/watch-video-description/watch-video-description.css index ef3c71c2..dc1d33c7 100644 --- a/src/renderer/components/watch-video-description/watch-video-description.css +++ b/src/renderer/components/watch-video-description/watch-video-description.css @@ -4,7 +4,7 @@ } .description { - font-family: 'Roboto', sans-serif; + font-family: 'Roboto', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 17px; white-space: pre-wrap; } diff --git a/src/renderer/videoJS.css b/src/renderer/videoJS.css index 8a3f4831..7d56c1e2 100644 --- a/src/renderer/videoJS.css +++ b/src/renderer/videoJS.css @@ -350,7 +350,7 @@ line-height: 1; font-weight: normal; font-style: normal; - font-family: Arial, Helvetica, sans-serif; + font-family: Arial, Helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; word-break: initial; } .video-js:-moz-full-screen { diff --git a/src/renderer/views/Channel/Channel.css b/src/renderer/views/Channel/Channel.css index 1c7109bc..c1174851 100644 --- a/src/renderer/views/Channel/Channel.css +++ b/src/renderer/views/Channel/Channel.css @@ -108,7 +108,7 @@ } .aboutInfo { - font-family: 'Roboto', sans-serif; + font-family: 'Roboto', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; font-size: 17px; white-space: pre-wrap; }