daniel-nagy / md-data-table

Material Design Data Table for Angular Material
MIT License
1.9k stars 519 forks source link

CSS classes are not being applied #393

Open turbobuilt opened 8 years ago

turbobuilt commented 8 years ago

Hello,

I copied the demo almost exactly, but the css classes aren't working. I'm having to write <th class="md-column"> instead of <th md-column> to get proper styling. Is this how it is supposed to be?

colinshen commented 8 years ago

@dtruel I have same problem. After gulp compile, styles are not applied. Did you find a solution?

turbobuilt commented 8 years ago

No automated one, but if you manually write in the class names it works fine.

daniel-nagy commented 8 years ago

@dtruel @colinshen The classes should be added to the element during the compile phase, as you can see here.

Can you try putting a break point inside the compile function to see what is going on?