Skip to content

Commit

Permalink
Fix IE font issues
Browse files Browse the repository at this point in the history
  • Loading branch information
99ff00 committed Sep 26, 2019
1 parent 6623a7f commit 1d00b27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/charty.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
3 changes: 2 additions & 1 deletion src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1d00b27

Please sign in to comment.