mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 11:03:48 +01:00
css
This commit is contained in:
parent
ec72a0097d
commit
6a9e649ee7
14
index.js
14
index.js
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user