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 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
|
||||||
|
Loading…
Reference in New Issue
Block a user