Closed skbach closed 5 years ago
I'd like to butt in on this, I also had a similar issue. Somewhere in the documentation (can't find it right now) is stated that you can override devcards stylesheets.
id
to your cards.html
. Devcards will not attach the style tag to the dom if an existing one exists by that id.You can also copy over the entire conflicting stylesheet, include it with the same id in cards.html
and manually remove the style statements that conflict.
Hope this helped even though this issue was submitted a while ago!
The material design lite textbox (https://getmdl.io/components/index.html#textfields-section) isn't working correctly with devcards.
To reproduce: add the following to the head of cards.html
Then, in a simple defcard, return this:
The textbox will not have any of the mdl sytling / behavior attached.
I've tested in Rum and it works as expected. I also tested in Om with Sablono, and that also works. So I am assuming there is some conflict with the devcards css?