gwatts / jquery.sparkline

A plugin for the jQuery javascript library to generate small sparkline charts directly in the browser
http://omnipotent.net/jquery.sparkline/
1.24k stars 278 forks source link

CSS box-sizing attribute for .jqstooltip lacks an explicit setting #202

Open aleksmsd opened 5 years ago

aleksmsd commented 5 years ago

Version: 2.1.2 jQuery Version: v1.12.4

Hey! I noticed a small issue with the default tooltip class. Initially my tooltips were rendering out like below image

After looking into it a bit more, it looks like the .jqstooltip class was inheriting from some *-setting in my normalize.css:

* {
  box-sizing: border-box;
}

So I set the following:

.jqstooltip {
  box-sizing: content-box;
}

And now it's all good again! image

So my request on this issue, can we get the library to have this box-sizing attribute explicitly set out of the box?

Thank you!

paintdog commented 2 years ago

I have the same issue. Thank you for your solution.