瀏覽代碼

make the editor resizable again

Lucas Stadler 10 年之前
父節點
當前提交
fce404def9
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      glsl/raymarching.js

+ 5 - 2
glsl/raymarching.js

@ -100,11 +100,14 @@ void main() {
100 100
  position: absolute;
101 101
  top: 0;
102 102
  left: 0;
103
  height: 100%;
103 104
}
104 105
105 106
#editor textarea {
106
  min-width: 72ex;
107
  height: 100vh;
107
  display: block;
108
  width: 72ex;
109
  height: calc(100% - 2em + 1px); /* TODO: fix this */
110
  resize: horizontal;
108 111
}
109 112
110 113
#editor textarea, #editor input {