I'm making good progress with my Angular2 app, thanks again for clarifying how to use the scss files from MDL (answered here).
However, I'm having trouble now overriding certain default styles set by MDL. For example, I don't want the tabs in the tabs bar to use "justify-content: center", but rather "justify-content: flex-start", so the tabs are aligned left.
My initial approach was to try to override the property by supplying:
.mdl-tabs__tab-bar {
justify-content: flex-start;
}
directly in the scss file of the component containing the tabs.
But this won't work as Angular2 scopes my selectors, e.g. like this
.mdl-tabs__tab-bar[_ngcontent-eph-22]
and so they never apply. So what's the proper way to override MDL's default styles? Do I have to put everything I want to override in the global styles.sass?
Thanks in advance for any help!