From 2ff75c8d432a2394a449cd277cccd973065d8ed1 Mon Sep 17 00:00:00 2001 From: Paladox none Date: Sun, 18 Sep 2016 17:35:40 +0000 Subject: [PATCH] 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 --- polygerrit-ui/app/styles/main.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; }