Closed Swimburger closed 9 years ago
I'm confused, where does this temporary fix exist ? When I download this, the prefix is not "mdi", but just "md".
This is just a suggestion how you could fix it, if you have the same problem. With "we", I meant, my team. We temporarily replaced "md" to "mdi" in our Angular Material App to prevent class collision.
Also, I just read that scss support is added. In the _variables.scss file, you can change the variable value for the prefix. I haven't tested it though, but I will.
// Variables
// --------------------------
$md-font-path: "../fonts";
$md-css-prefix: md;
$md-version: "1.0.1";
$md-border-color: gray;
https://github.com/zavoloklom/material-design-iconic-font/blob/master/scss/_variables.scss
Ah, I see. Thank you.
I'm also having this issue. It would be great if the default prefix could be something more unique.
+1
:+1: https://github.com/zavoloklom/material-design-iconic-font/pull/4 would also work
+1
+1
Fixed in 2.0 release
Many classes and directives use the prefix "md-", this causes to css of the Angular Material library to act strangely. Temporarily we have changed the prefix to "mdi-", where the "i" stands for icon.