From 2a14d32235de50719bf25d64011ac1460648fb3a Mon Sep 17 00:00:00 2001 From: Daniel Steigerwald Date: Sat, 22 Apr 2017 15:09:35 +0200 Subject: [PATCH] Fix Fela example (#1663) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix Fela example Styles must be set via the innerHTML. Otherwise, a fontFamily "Segoe UI” will have encoded quotes. * Add example Which didn’t work previously. * Fix lint --- examples/with-fela/pages/_document.js | 5 ++++- examples/with-fela/pages/index.js | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/with-fela/pages/_document.js b/examples/with-fela/pages/_document.js index cc423d80..a92eb6e2 100644 --- a/examples/with-fela/pages/_document.js +++ b/examples/with-fela/pages/_document.js @@ -20,7 +20,10 @@ export default class MyDocument extends Document { My page - +