Skip to content

Commit

Permalink
css: Increase compatibility of IE/Edge for Material Icons
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Mar 26, 2017
1 parent a35f0ca commit 769678f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/assets/stylesheets/less/_usermenu.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url('fonts/material-icon.woff2') format('woff2');
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url('fonts/material-icon.woff2') format('woff2'),
url('fonts/material-icon.woff') format('woff'),
url('fonts/material-icon..ttf') format('truetype');
}

.material-icons {
Expand All @@ -35,6 +39,7 @@
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
font-feature-settings: 'liga'; /* Support for IE. */
}

.logout {
Expand Down
Binary file added public/stylesheets/fonts/material-icon.eot
Binary file not shown.
Binary file added public/stylesheets/fonts/material-icon.ttf
Binary file not shown.
Binary file added public/stylesheets/fonts/material-icon.woff
Binary file not shown.
Binary file modified public/stylesheets/fonts/material-icon.woff2
Binary file not shown.

0 comments on commit 769678f

Please sign in to comment.