From ae5010311f02b33b96a4716d074e79ad37a20de2 Mon Sep 17 00:00:00 2001 From: Matthew Durajka Date: Thu, 28 Sep 2023 20:38:25 +0200 Subject: [PATCH] fix: iconfont.scss added css charset utf-8 (#843) * fix: iconfont.scss added css charset utf-8 * fix: iconfont.scss added css charset utf-8 * fix: iconfont.scss moved charset utf-8 to the very beginning of the file According to w3 (https://www.w3.org/International/questions/qa-css-charset), the @charset declaration doesn't get the same treatment as CSS rules. It has to be an exact byte sequence, starting from the very first byte in the stylesheet. --- .build/iconfont.scss | 1 + packages/icons-webfont/.build/iconfont.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/.build/iconfont.scss b/.build/iconfont.scss index c74e1a7ea..dece4644d 100644 --- a/.build/iconfont.scss +++ b/.build/iconfont.scss @@ -1,3 +1,4 @@ +@charset "UTF-8"; /*! * Tabler Icons <%= v %> by tabler - https://tabler.io * License - https://github.com/tabler/tabler-icons/blob/master/LICENSE diff --git a/packages/icons-webfont/.build/iconfont.scss b/packages/icons-webfont/.build/iconfont.scss index 152fd0533..8eb9a18c9 100644 --- a/packages/icons-webfont/.build/iconfont.scss +++ b/packages/icons-webfont/.build/iconfont.scss @@ -1,3 +1,4 @@ +@charset "UTF-8"; /*! * Tabler Icons <%= v %> by tabler - https://tabler.io * License - https://github.com/tabler/tabler-icons/blob/master/LICENSE