This commit is contained in:
casperlamboo 2017-12-14 11:18:41 +01:00
parent ec72a0097d
commit 6a9e649ee7

View File

@ -32,14 +32,14 @@ import jss from 'jss';
import preset from 'jss-preset-default'; import preset from 'jss-preset-default';
import normalize from 'normalize-jss'; import normalize from 'normalize-jss';
jss.setup(preset()); jss.setup(preset());
jss.createStyleSheet(normalize).attach();
jss.createStyleSheet({ jss.createStyleSheet({
'@global body, html, #app': { '@global': {
height: '100%' '*': { margin: 0, padding: 0 },
}, '#app, body, html': { height: '100%', fontFamily: 'sans-serif' },
'@global body': { body: { overflow: 'auto' },
overflow: 'hidden' html: { overflow: 'hidden' }
}, }
...normalize
}).attach(); }).attach();
// render dom // render dom