编辑器样式更新
This commit is contained in:
parent
7e592c6ec6
commit
074ad202a9
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "material-editor",
|
"name": "material-editor",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.10",
|
"version": "1.0.11",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
@ -59,8 +59,8 @@ async function HandleUpdateConfig() {
|
|||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.material-view
|
.material-view
|
||||||
{
|
{
|
||||||
width: 100cqw;
|
width: 100%;
|
||||||
height: 100cqh;
|
height: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
import './assets/main.css'
|
import './assets/main.css'
|
||||||
import { Mount } from './lib';
|
import { Mount } from './lib';
|
||||||
|
|
||||||
Mount("#app");
|
const app = document.createElement('div');
|
||||||
|
app.style.width = '100%';
|
||||||
|
app.style.height = '100vh';
|
||||||
|
document.body.appendChild(app);
|
||||||
|
Mount(app);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user