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 normalize from 'normalize-jss';
jss.setup(preset());
jss.createStyleSheet(normalize).attach();
jss.createStyleSheet({
'@global body, html, #app': {
height: '100%'
},
'@global body': {
overflow: 'hidden'
},
...normalize
'@global': {
'*': { margin: 0, padding: 0 },
'#app, body, html': { height: '100%', fontFamily: 'sans-serif' },
body: { overflow: 'auto' },
html: { overflow: 'hidden' }
}
}).attach();
// render dom