fix html,body styles

This commit is contained in:
igoradamenko
2018-04-30 07:55:45 +03:00
parent 4fee1c28b8
commit 6f0578de17
5 changed files with 9 additions and 10 deletions
@@ -1,6 +0,0 @@
html, body {
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
-1
View File
@@ -1 +0,0 @@
require('./document.scss');
-2
View File
@@ -7,8 +7,6 @@ import ListComments from './components/list-comments'; // TODO: temp solution fo
import { NODE_ID } from './common/constants';
require('./components/document');
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', init);
} else {
+8
View File
@@ -6,6 +6,14 @@
<title>remark42</title>
<base target="_blank">
<link rel="stylesheet" href="remark.css">
<style>
html, body {
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
</style>
</head>
<body>
<div id="remark42"></div>
+1 -1
View File
@@ -23,7 +23,7 @@ const commonStyleLoaders = [
plugins: [
require('autoprefixer')({ browsers: ['> 1%'] }),
require('postcss-url')({ url: 'inline', maxSize: 5 }),
require('postcss-wrap')({ selector: `#${NODE_ID}` , skip: /^html|body$/}),
require('postcss-wrap')({ selector: `#${NODE_ID}` }),
require('postcss-csso'),
]
}