From 1d00b27122e909c4d744afe9ed606133c50bb8fe Mon Sep 17 00:00:00 2001 From: Aleksandr Telegin <99ff00@gmail.com> Date: Thu, 26 Sep 2019 14:49:59 +0100 Subject: [PATCH] Fix IE font issues --- src/charty.js | 2 +- src/styles.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/charty.js b/src/charty.js index c8adebb..4455836 100644 --- a/src/charty.js +++ b/src/charty.js @@ -56,7 +56,7 @@ var Charty = (function () { pie: { textColor: '#fff' } }, PI_RAD = Math.PI / 180, - FONT = '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif', + FONT = 'BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif', WDAYS = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], LONG_WDAYS = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], MONTHS = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], diff --git a/src/styles.css b/src/styles.css index 289a883..2a85453 100644 --- a/src/styles.css +++ b/src/styles.css @@ -120,10 +120,11 @@ font-size: 12px; display: flex; flex-direction: column; - min-width: 150px; + min-width: 155px; opacity: 0; transition: opacity .3s ease; overflow-y: auto; + overflow-x: hidden; max-height: 200px; } .chart .legend .xval {