material icon indicating copy to clipboard operation
material copied to clipboard

Material namespace collating with polymer.

Open camiloazula opened this issue 11 years ago • 7 comments

Is there anyway to scope material layouts statements like flex** to use something instead like ng-material-flex so then does not interfere with polymer layouts? I know angular 2 will play nicely with web-components, but still this will be an issue specially CSS related.

camiloazula avatar Sep 17 '15 01:09 camiloazula

Can you provide some examples where the two conflict with different definitions?

ThomasBurleson avatar Sep 17 '15 02:09 ThomasBurleson

This is just to show the conflicts with flex related terms, but I see a lot more of css classes in conflict even the fonts are different.

screen shot 2015-09-17 at 06 27 09

camiloazula avatar Sep 17 '15 04:09 camiloazula

and this one overwrites the angular-material font https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500,500italic,700,700italic

camiloazula avatar Sep 17 '15 04:09 camiloazula

Seems to me that all of the layout CSS needs to have the md- prefix.

jelbourn avatar Sep 22 '15 22:09 jelbourn

:+1:

ThomasBurleson avatar Sep 23 '15 03:09 ThomasBurleson

We plan to support an optional md- prefix with ngMaterial 1 Layout features. This is planned for ngMaterial 2.

ThomasBurleson avatar Jan 13 '16 21:01 ThomasBurleson

Track via #6294

ThomasBurleson avatar Jan 14 '16 00:01 ThomasBurleson