saeidzebardast / nvd3-elements

NVD3 charts as web components for Polymer.
http://saeidzebardast.github.io/nvd3-elements
MIT License
38 stars 13 forks source link

Using "dom: 'shadow'" option in polymer invalidates the css styles #11

Closed javiercbk closed 7 years ago

javiercbk commented 8 years ago

The polymer documentation states:

shadow. Local DOM is rendered using shadow DOM where supported (this will be the default in the future).

Setting the dom global variable to shadow breaks all the css styles and rules. window.Polymer = {dom: 'shadow'};

saeidzebardast commented 8 years ago

Add ::shadow to nvd3-shared-styles.html selectors fix many issues but some issues such as background of tooltip box aren't fixed.

saeidzebardast commented 7 years ago

Fixed at v0.19.0.