Move options from the top to the left side in the demo.
This commit is contained in:
parent
53b2caaade
commit
71364a8497
3 changed files with 71 additions and 42 deletions
|
|
@ -336,8 +336,8 @@ exports.launch = function(env) {
|
|||
}
|
||||
|
||||
function onResize() {
|
||||
container.style.width = (document.documentElement.clientWidth) + "px";
|
||||
container.style.height = (document.documentElement.clientHeight - 60 - 22) + "px";
|
||||
container.style.width = (document.documentElement.clientWidth - 180) + "px";
|
||||
container.style.height = (document.documentElement.clientHeight - 22) + "px";
|
||||
env.editor.resize();
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -17,18 +17,21 @@ body {
|
|||
|
||||
#editor {
|
||||
position: absolute;
|
||||
top: 60px;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
left: 180px;
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
background: white;
|
||||
}
|
||||
|
||||
#controls {
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#cockpitInput {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
left: 180px;
|
||||
right: 0px;
|
||||
bottom: 0;
|
||||
|
||||
border: none; outline: none;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue