summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaladox none <thomasmulhall410@yahoo.com>2016-09-18 17:35:40 +0000
committerPaladox none <thomasmulhall410@yahoo.com>2016-09-19 16:03:23 +0000
commit2ff75c8d432a2394a449cd277cccd973065d8ed1 (patch)
treef1f75ece6d394162ba4cf92ce075dd80c51332ac
parenta3c7c22c90e318e13963f173c4bfb51c18913092 (diff)
PolyGerrit: Change font: to font-size and font-family
The reason is because it seem it dosent work very well in Internet Explorer. When using font: it showed it as being crossed out. Not sure if this is Because it is on windows 10 or something else. Change-Id: Ia27ac65c636aa7753647e9920080afbe9368b2f6
-rw-r--r--polygerrit-ui/app/styles/main.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/polygerrit-ui/app/styles/main.css b/polygerrit-ui/app/styles/main.css
index f8ffb148f3..39be0ff174 100644
--- a/polygerrit-ui/app/styles/main.css
+++ b/polygerrit-ui/app/styles/main.css
@@ -30,6 +30,11 @@ body {
transition: none; /* Override the default Polymer fade-in. */
}
body {
- font: 13px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
+ /*
+ * IE has shoddy support for the font shorthand property.
+ * Work around this using font-size and font-family.
+ */
+ font-size: 13px;
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
line-height: 1.4;
}