From 3ce6c3dc614b9211cebc213087aae404ea90dc5f Mon Sep 17 00:00:00 2001 From: JeLuF Date: Fri, 7 Apr 2023 08:46:19 +0200 Subject: [PATCH] fix font definition for some users I don't know why it breaks only for a few users, but this patch seems to fix the issue. https://discord.com/channels/1014774730907209781/1081867905907572746 https://discord.com/channels/1014774730907209781/1093215237307637901/1093223612615491604 --- ui/media/css/fonts.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/media/css/fonts.css b/ui/media/css/fonts.css index 8bd4f5d5..6a1fbbae 100644 --- a/ui/media/css/fonts.css +++ b/ui/media/css/fonts.css @@ -3,7 +3,7 @@ font-family: 'Work Sans'; font-style: normal; font-weight: 400; - src: local(''), + src: local('Work Sans'), url('/media/fonts/work-sans-v18-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/media/fonts/work-sans-v18-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } @@ -13,7 +13,7 @@ font-family: 'Work Sans'; font-style: normal; font-weight: 600; - src: local(''), + src: local('Work Sans'), url('/media/fonts/work-sans-v18-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/media/fonts/work-sans-v18-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } @@ -23,7 +23,7 @@ font-family: 'Work Sans'; font-style: normal; font-weight: 700; - src: local(''), + src: local('Work Sans'), url('/media/fonts/work-sans-v18-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/media/fonts/work-sans-v18-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } @@ -33,8 +33,8 @@ font-family: 'Work Sans'; font-style: normal; font-weight: 800; - src: local(''), + src: local('Work Sans'), url('/media/fonts/work-sans-v18-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/media/fonts/work-sans-v18-latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } - \ No newline at end of file +