fix html,body styles
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
require('./document.scss');
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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'),
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user