编辑器样式更新
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "material-editor",
 | 
			
		||||
  "private": true,
 | 
			
		||||
  "version": "1.0.10",
 | 
			
		||||
  "version": "1.0.11",
 | 
			
		||||
  "type": "module",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "dev": "vite",
 | 
			
		||||
 
 | 
			
		||||
@@ -59,8 +59,8 @@ async function HandleUpdateConfig() {
 | 
			
		||||
<style scoped lang="scss">
 | 
			
		||||
.material-view
 | 
			
		||||
{
 | 
			
		||||
    width: 100cqw;
 | 
			
		||||
    height: 100cqh;
 | 
			
		||||
    width: 100%;
 | 
			
		||||
    height: 100%;
 | 
			
		||||
    box-sizing: border-box;
 | 
			
		||||
    padding: 0;
 | 
			
		||||
    margin: 0;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,9 @@
 | 
			
		||||
import './assets/main.css'
 | 
			
		||||
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);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user