PolymerLabs / indie-catalog

A simple catalog for demoing web components

Home Page:http://polymerlabs.github.io/indie-catalog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docs styles corrupted in Firefox

web-padawan opened this issue · comments

Currently the default-theme is applied using <custom-style>, but this does not work in polyfilled browsers (e. g. Firefox), most likely because of selector in this line.

The simplest solution is to add a Polymer element and then import style module inside of that element, like iron-component-page does.

The screenshot below demonstrates how it looks like now:

screen shot 2018-02-06 at 9 07 39

As you can see, the custom-style does not get processed correctly:

screen shot 2018-02-06 at 9 08 13