Commit e457681064da9a18915a98488a73234d695119b4

Authored by 商艳涛
1 parent c56de56f

修复编译工具区域超出屏幕外不可操作问题

dist/css/ide.css
@@ -265,7 +265,7 @@ html, body { @@ -265,7 +265,7 @@ html, body {
265 padding-bottom: 260px; } 265 padding-bottom: 260px; }
266 266
267 .console-wrap { 267 .console-wrap {
268 - width: 100%; 268 + width: calc(100% - 170px);
269 background-color: #FFF; 269 background-color: #FFF;
270 height: 200px; 270 height: 200px;
271 position: absolute; 271 position: absolute;
dist/css/layout.css
1 -.box-border {  
2 - border: 1px solid #ccc;  
3 - -webkit-box-sizing: border-box;  
4 - -moz-box-sizing: border-box;  
5 - box-sizing: border-box; }  
6 -  
7 -.flx {  
8 - display: -webkit-box;  
9 - display: -webkit-flex;  
10 - display: -moz-box;  
11 - display: -moz-flex;  
12 - display: -ms-flexbox;  
13 - display: flex; }  
14 -  
15 -.f1 {  
16 - -webkit-box-flex: 1;  
17 - -webkit-flex: 1;  
18 - -moz-box-flex: 1;  
19 - -moz-flex: 1;  
20 - -ms-flex: 1;  
21 - flex: 1; }  
22 -  
23 -.f2 {  
24 - -webkit-box-flex: 2;  
25 - -webkit-flex: 2;  
26 - -moz-box-flex: 2;  
27 - -moz-flex: 2;  
28 - -ms-flex: 2;  
29 - flex: 2; }  
30 -  
31 -.f3 {  
32 - -webkit-box-flex: 3;  
33 - -webkit-flex: 3;  
34 - -moz-box-flex: 3;  
35 - -moz-flex: 3;  
36 - -ms-flex: 3;  
37 - flex: 3; }  
38 -  
39 -.f4 {  
40 - -webkit-box-flex: 4;  
41 - -webkit-flex: 4;  
42 - -moz-box-flex: 4;  
43 - -moz-flex: 4;  
44 - -ms-flex: 4;  
45 - flex: 4; }  
46 -  
47 -.f5 {  
48 - -webkit-box-flex: 5;  
49 - -webkit-flex: 5;  
50 - -moz-box-flex: 5;  
51 - -moz-flex: 5;  
52 - -ms-flex: 5;  
53 - flex: 5; }  
54 -  
55 -.f20 {  
56 - -webkit-box-flex: 20%;  
57 - -webkit-flex: 20%;  
58 - -moz-box-flex: 20%;  
59 - -moz-flex: 20%;  
60 - -ms-flex: 20%;  
61 - flex: 20%; }  
62 -  
63 -.f25 {  
64 - -webkit-box-flex: 25%;  
65 - -webkit-flex: 25%;  
66 - -moz-box-flex: 25%;  
67 - -moz-flex: 25%;  
68 - -ms-flex: 25%;  
69 - flex: 25%; }  
70 -  
71 -.center-lv {  
72 - -webkit-box-pack: center;  
73 - -ms-flex-pack: center;  
74 - -webkit-justify-content: center;  
75 - -moz-justify-content: center;  
76 - justify-content: center;  
77 - -webkit-box-align: center;  
78 - -ms-flex-align: center;  
79 - -webkit-align-items: center;  
80 - -moz-align-items: center;  
81 - align-items: center; }  
82 -  
83 -.both-lr {  
84 - display: -webkit-box;  
85 - display: -webkit-flex;  
86 - display: -moz-box;  
87 - display: -moz-flex;  
88 - display: -ms-flexbox;  
89 - display: flex;  
90 - -webkit-box-align: center;  
91 - -ms-flex-align: center;  
92 - -webkit-align-items: center;  
93 - -moz-align-items: center;  
94 - align-items: center;  
95 - -webkit-box-pack: justify;  
96 - -ms-flex-pack: justify;  
97 - -webkit-justify-content: space-between;  
98 - -moz-justify-content: space-between;  
99 - justify-content: space-between; }  
100 -  
101 -.both-ud {  
102 - display: -webkit-box;  
103 - display: -webkit-flex;  
104 - display: -moz-box;  
105 - display: -moz-flex;  
106 - display: -ms-flexbox;  
107 - display: flex;  
108 - -webkit-box-direction: normal;  
109 - -webkit-box-orient: vertical;  
110 - -webkit-flex-direction: column;  
111 - -moz-flex-direction: column;  
112 - -ms-flex-direction: column;  
113 - flex-direction: column;  
114 - -webkit-box-pack: justify;  
115 - -ms-flex-pack: justify;  
116 - -webkit-justify-content: space-between;  
117 - -moz-justify-content: space-between;  
118 - justify-content: space-between; }  
119 -  
120 -.flex-direction .row {  
121 - -webkit-box-direction: normal;  
122 - -webkit-box-orient: horizontal;  
123 - -webkit-flex-direction: row;  
124 - -moz-flex-direction: row;  
125 - -ms-flex-direction: row;  
126 - flex-direction: row; }  
127 -  
128 -.flex-direction .row-reverse {  
129 - -webkit-box-direction: reverse;  
130 - -webkit-box-orient: horizontal;  
131 - -webkit-flex-direction: row-reverse;  
132 - -moz-flex-direction: row-reverse;  
133 - -ms-flex-direction: row-reverse;  
134 - flex-direction: row-reverse; }  
135 -  
136 -.flex-direction .column {  
137 - -webkit-box-direction: normal;  
138 - -webkit-box-orient: vertical;  
139 - -webkit-flex-direction: column;  
140 - -moz-flex-direction: column;  
141 - -ms-flex-direction: column;  
142 - flex-direction: column; }  
143 -  
144 -.flex-direction .column-reverse {  
145 - -webkit-box-direction: reverse;  
146 - -webkit-box-orient: vertical;  
147 - -webkit-flex-direction: column-reverse;  
148 - -moz-flex-direction: column-reverse;  
149 - -ms-flex-direction: column-reverse;  
150 - flex-direction: column-reverse; }  
151 -  
152 -.flex-wrap .nowrap {  
153 - -webkit-flex-wrap: nowrap;  
154 - -moz-flex-wrap: nowrap;  
155 - -ms-flex-wrap: none;  
156 - flex-wrap: nowrap; }  
157 -  
158 -.flex-wrap .nowrap {  
159 - -webkit-flex-wrap: wrap;  
160 - -moz-flex-wrap: wrap;  
161 - -ms-flex-wrap: wrap;  
162 - flex-wrap: wrap; }  
163 -  
164 -.flex-wrap .nowrap {  
165 - -webkit-flex-wrap: wrap-reverse;  
166 - -moz-flex-wrap: wrap-reverse;  
167 - -ms-flex-wrap: wrap-reverse;  
168 - flex-wrap: wrap-reverse; }  
169 -  
170 -.justify-content .start {  
171 - -webkit-box-pack: start;  
172 - -ms-flex-pack: start;  
173 - -webkit-justify-content: flex-start;  
174 - -moz-justify-content: flex-start;  
175 - justify-content: flex-start; }  
176 -  
177 -.justify-content .end {  
178 - -webkit-box-pack: end;  
179 - -ms-flex-pack: end;  
180 - -webkit-justify-content: flex-end;  
181 - -moz-justify-content: flex-end;  
182 - justify-content: flex-end; }  
183 -  
184 -.justify-content .between {  
185 - -webkit-box-pack: justify;  
186 - -ms-flex-pack: justify;  
187 - -webkit-justify-content: space-between;  
188 - -moz-justify-content: space-between;  
189 - justify-content: space-between; }  
190 -  
191 -.justify-content .center {  
192 - -webkit-box-pack: center;  
193 - -ms-flex-pack: center;  
194 - -webkit-justify-content: center;  
195 - -moz-justify-content: center;  
196 - justify-content: center; }  
197 -  
198 -.justify-content .around {  
199 - -webkit-box-pack: space-around;  
200 - -ms-flex-pack: space-around;  
201 - -webkit-justify-content: space-around;  
202 - -moz-justify-content: space-around;  
203 - justify-content: space-around; }  
204 -  
205 -.align-items .start {  
206 - -webkit-box-align: start;  
207 - -ms-flex-align: start;  
208 - -webkit-align-items: flex-start;  
209 - -moz-align-items: flex-start;  
210 - align-items: flex-start; }  
211 -  
212 -.align-items .end {  
213 - -webkit-box-align: end;  
214 - -ms-flex-align: end;  
215 - -webkit-align-items: flex-end;  
216 - -moz-align-items: flex-end;  
217 - align-items: flex-end; }  
218 -  
219 -.align-items .center {  
220 - -webkit-box-align: center;  
221 - -ms-flex-align: center;  
222 - -webkit-align-items: center;  
223 - -moz-align-items: center;  
224 - align-items: center; }  
225 -  
226 -.align-items .stretch {  
227 - -webkit-box-align: stretch;  
228 - -ms-flex-align: stretch;  
229 - -webkit-align-items: stretch;  
230 - -moz-align-items: stretch;  
231 - align-items: stretch; }  
232 -  
233 -.align-items .baseline {  
234 - -webkit-box-align: baseline;  
235 - -ms-flex-align: baseline;  
236 - -webkit-align-items: baseline;  
237 - -moz-align-items: baseline;  
238 - align-items: baseline; }  
239 -  
240 -.align-content .start {  
241 - -webkit-align-content: flex-start;  
242 - -moz-align-content: flex-start;  
243 - -ms-flex-line-pack: start;  
244 - align-content: flex-start; }  
245 -  
246 -.align-content .end {  
247 - -webkit-align-content: flex-end;  
248 - -moz-align-content: flex-end;  
249 - -ms-flex-line-pack: end;  
250 - align-content: flex-end; }  
251 -  
252 -.align-content .center {  
253 - -webkit-align-content: center;  
254 - -moz-align-content: center;  
255 - -ms-flex-line-pack: center;  
256 - align-content: center; }  
257 -  
258 -.align-content .between {  
259 - -webkit-align-content: space-between;  
260 - -moz-align-content: space-between;  
261 - -ms-flex-line-pack: space-between;  
262 - align-content: space-between; }  
263 -  
264 -.align-content .around {  
265 - -webkit-align-content: space-around;  
266 - -moz-align-content: space-around;  
267 - -ms-flex-line-pack: space-around;  
268 - align-content: space-around; }  
269 -  
270 -.align-content .stretch {  
271 - -webkit-align-content: stretch;  
272 - -moz-align-content: stretch;  
273 - -ms-flex-line-pack: stretch;  
274 - align-content: stretch; }  
275 -  
276 -.align-self .auto {  
277 - -webkit-align-self: auto;  
278 - -moz-align-self: auto;  
279 - -ms-flex-item-align: auto;  
280 - align-self: auto; }  
281 -  
282 -.align-self .start {  
283 - -webkit-align-self: flex-start;  
284 - -moz-align-self: flex-start;  
285 - -ms-flex-item-align: start;  
286 - align-self: flex-start; }  
287 -  
288 -.align-self .end {  
289 - -webkit-align-self: flex-end;  
290 - -moz-align-self: flex-end;  
291 - -ms-flex-item-align: end;  
292 - align-self: flex-end; }  
293 -  
294 -.align-self .center {  
295 - -webkit-align-self: center;  
296 - -moz-align-self: center;  
297 - -ms-flex-item-align: center;  
298 - align-self: center; }  
299 -  
300 -.align-self .baseline {  
301 - -webkit-align-self: baseline;  
302 - -moz-align-self: baseline;  
303 - -ms-flex-item-align: baseline;  
304 - align-self: baseline; }  
305 -  
306 -.align-self .stretch {  
307 - -webkit-align-self: stretch;  
308 - -moz-align-self: stretch;  
309 - -ms-flex-item-align: stretch;  
310 - align-self: stretch; }  
dist/css/main.css
@@ -137,7 +137,7 @@ html, body { @@ -137,7 +137,7 @@ html, body {
137 padding-bottom: 260px; } 137 padding-bottom: 260px; }
138 138
139 .console-wrap { 139 .console-wrap {
140 - width: 100%; 140 + width: calc(100% - 170px);
141 background-color: #FFF; 141 background-color: #FFF;
142 height: 200px; 142 height: 200px;
143 position: absolute; 143 position: absolute;
dist/scss/main.scss
@@ -181,7 +181,7 @@ html, body{ @@ -181,7 +181,7 @@ html, body{
181 } 181 }
182 182
183 .console-wrap{ 183 .console-wrap{
184 - width: 100%; 184 + width: calc(100% - 170px);
185 background-color: #FFF; 185 background-color: #FFF;
186 height: 200px; 186 height: 200px;
187 position: absolute; 187 position: absolute;
src/css/ide.css
@@ -265,7 +265,7 @@ html, body { @@ -265,7 +265,7 @@ html, body {
265 padding-bottom: 260px; } 265 padding-bottom: 260px; }
266 266
267 .console-wrap { 267 .console-wrap {
268 - width: 100%; 268 + width: calc(100% - 170px);
269 background-color: #FFF; 269 background-color: #FFF;
270 height: 200px; 270 height: 200px;
271 position: absolute; 271 position: absolute;
src/css/main.css
@@ -137,7 +137,7 @@ html, body { @@ -137,7 +137,7 @@ html, body {
137 padding-bottom: 260px; } 137 padding-bottom: 260px; }
138 138
139 .console-wrap { 139 .console-wrap {
140 - width: 100%; 140 + width: calc(100% - 170px);
141 background-color: #FFF; 141 background-color: #FFF;
142 height: 200px; 142 height: 200px;
143 position: absolute; 143 position: absolute;
src/scss/main.scss
@@ -181,7 +181,7 @@ html, body{ @@ -181,7 +181,7 @@ html, body{
181 } 181 }
182 182
183 .console-wrap{ 183 .console-wrap{
184 - width: 100%; 184 + width: calc(100% - 170px);
185 background-color: #FFF; 185 background-color: #FFF;
186 height: 200px; 186 height: 200px;
187 position: absolute; 187 position: absolute;