tleunen / react-mdl

React Components for Material Design Lite
https://tleunen.github.io/react-mdl/
MIT License
1.76k stars 254 forks source link

Extends styles #402

Open HugoHeneault opened 8 years ago

HugoHeneault commented 8 years ago

When I'm styling elements with css, they are overidden by react-mdl rules. It would be great if react-mdl styles were loaded before merged (custom) ones. :)

image

tleunen commented 8 years ago

You should be able to decide when the material css is loaded, because it's a step you have to do manually.

How are you using it?

HugoHeneault commented 8 years ago

With a import 'react-mdl/extra/material.js'; statement.

I think this is the reason why it's at the bottom of the footer

tleunen commented 8 years ago

Could you also load your own styles the same way?

On Wed, Sep 21, 2016, 8:32 AM Hugo Heneault notifications@github.com wrote:

With a import 'react-mdl/extra/material.js'; statement.

I think this is the reason why it's at the bottom of the footer

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tleunen/react-mdl/issues/402#issuecomment-248597694, or mute the thread https://github.com/notifications/unsubscribe-auth/AB4ZV9DwoeA63FsXnkcLhqziAbBI3La1ks5qsSPKgaJpZM4KCcxz .