mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-07 12:16:04 +00:00
Update editor.html
This commit is contained in:
parent
bb3cd40012
commit
fdc6062433
|
@ -12,25 +12,18 @@
|
|||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
.ribbon-menu {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
#container {
|
||||
flex-grow: 1;
|
||||
border: 1px solid grey;
|
||||
height: calc(100% - 139px);
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
}
|
||||
.banner {
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
background-color: #f1f1f1;
|
||||
font-size: 14px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
@ -83,7 +76,6 @@
|
|||
value: ['function x() {', '\tconsole.log("Hello world!");', '}'].join('\n'),
|
||||
language: 'javascript'
|
||||
});
|
||||
resizeEditor();
|
||||
});
|
||||
|
||||
window.addEventListener('resize', resizeEditor);
|
||||
|
|
Loading…
Reference in New Issue
Block a user