diff --git a/web/app/components/document/document.scss b/web/app/components/document/document.scss new file mode 100644 index 00000000..eda82510 --- /dev/null +++ b/web/app/components/document/document.scss @@ -0,0 +1,6 @@ +html, body { + margin: 0; + padding: 0; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} diff --git a/web/app/components/document/index.js b/web/app/components/document/index.js new file mode 100644 index 00000000..66e5bfd2 --- /dev/null +++ b/web/app/components/document/index.js @@ -0,0 +1 @@ +require('./document.scss'); diff --git a/web/app/remark.js b/web/app/remark.js index 7a3321ff..97009fae 100644 --- a/web/app/remark.js +++ b/web/app/remark.js @@ -6,6 +6,8 @@ import Root from './components/root'; import { NODE_ID } from './common/constants'; +require('./components/document'); + init(); function init() { diff --git a/web/index.ejs b/web/index.ejs index 75c1594a..7fdf45ef 100644 --- a/web/index.ejs +++ b/web/index.ejs @@ -31,6 +31,7 @@ (function() { var d = document, s = d.createElement('script'); s.src = 'https://demo.remark42.com/web/embed.js'; + s.type = 'text/javascript'; (d.head || d.body).appendChild(s); })();