Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please remove IE and old safari styles from fonts/pixelart-icons-font.css of npm package #30

Open
zardoy opened this issue Jul 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@zardoy
Copy link

zardoy commented Jul 7, 2024

Currently using this patch

diff --git a/fonts/pixelart-icons-font.css b/fonts/pixelart-icons-font.css
index 3b2ebe839370d96bf93ef5ca94a827f07e49378d..103ab4d6b9f3b5c9f41d1407e3cbf4ac392fbf41 100644
--- a/fonts/pixelart-icons-font.css
+++ b/fonts/pixelart-icons-font.css
@@ -1,16 +1,13 @@
 @font-face {
   font-family: "pixelart-icons-font";
-  src: url('pixelart-icons-font.eot?t=1711815892278'); /* IE9*/
-  src: url('pixelart-icons-font.eot?t=1711815892278#iefix') format('embedded-opentype'), /* IE6-IE8 */
+  src:
   url("pixelart-icons-font.woff2?t=1711815892278") format("woff2"),
   url("pixelart-icons-font.woff?t=1711815892278") format("woff"),
   url('pixelart-icons-font.ttf?t=1711815892278') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
-  url('pixelart-icons-font.svg?t=1711815892278#pixelart-icons-font') format('svg'); /* iOS 4.1- */
 }
 
 [class^="pixelart-icons-font-"], [class*=" pixelart-icons-font-"] {
   font-family: 'pixelart-icons-font' !important;
-  font-size:24px;
   font-style:normal;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
@@ -503,4 +500,3 @@
 .pixelart-icons-font-zap:before { content: "\ebe4"; }
 .pixelart-icons-font-zoom-in:before { content: "\ebe5"; }
 .pixelart-icons-font-zoom-out:before { content: "\ebe6"; }
-
@zardoy zardoy changed the title Please remove IE and old safari styles from fonts/pixelart-icons-font.css Please remove IE and old safari styles from fonts/pixelart-icons-font.css of npm package Jul 7, 2024
@halfmage
Copy link
Owner

@zardoy Will check this soon

@halfmage halfmage added the enhancement New feature or request label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants