debois / elm-mdl

Elm-port of the Material Design Lite CSS/JS library
Apache License 2.0
965 stars 133 forks source link

Can't change table size #360

Closed reginaldlouis closed 6 years ago

reginaldlouis commented 6 years ago

Maybe I'm doing this incorrectly, but no matter how I set the width of the table, directly or indirectly by changing is parent div (i.e Options.div [ Options.css "width" "100px" ] [...]), the Mdl table ALWAYS have the same width!

It is by design or their is a work around?

xAt0mZ commented 6 years ago

Actually the mdl-data-table css-class is forcing a style that you can't really control to follow the Material Design specifications. You can find all the references here

reginaldlouis commented 6 years ago

Ok thanks!