summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <altse@google.com>2015-05-28 09:42:35 -0700
committerScott Hyndman <shyndman@google.com>2015-06-02 10:03:38 -0700
commitcdaaf110da4a5bf71b62fa9826b4cb53237c38c1 (patch)
treedfc70fa35a5727e09f2c5d637588f36722e14647
parent4cf33248f9f2b2904a72b4e4fb53da1a246d0587 (diff)
Update CSS for Chrome.
-rw-r--r--index.html3
-rw-r--r--www/css/material.css16
2 files changed, 15 insertions, 4 deletions
diff --git a/index.html b/index.html
index c1a294ea1e83..debfe11783be 100644
--- a/index.html
+++ b/index.html
@@ -121,6 +121,9 @@ will need to be included manually in your projects when self-hosting the font:</
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
+ display: inline-block;
+ width: 1em;
+ height: 1em;
line-height: 1;
text-transform: none;
diff --git a/www/css/material.css b/www/css/material.css
index cc7cd402060f..a4b8493113eb 100644
--- a/www/css/material.css
+++ b/www/css/material.css
@@ -1984,13 +1984,21 @@ body.icons-docs {
color: rgba(0, 0, 0, 0.7);
/* icons listing */ }
body.icons-docs .material-icons.md-18 {
- font-size: 18px; }
+ font-size: 18px;
+ width: 1em;
+ height: 1em; }
body.icons-docs .material-icons.md-24 {
- font-size: 24px; }
+ font-size: 24px;
+ width: 1em;
+ height: 1em; }
body.icons-docs .material-icons.md-36 {
- font-size: 36px; }
+ font-size: 36px;
+ width: 1em;
+ height: 1em; }
body.icons-docs .material-icons.md-48 {
- font-size: 48px; }
+ font-size: 48px;
+ width: 1em;
+ height: 1em; }
body.icons-docs .material-icons.md-dark {
color: rgba(0, 0, 0, 0.54); }
body.icons-docs .material-icons.md-dark.md-inactive {