Skip to content

Commit e0bd240

Browse files
author
李圣华
committed
update
1 parent bb58f09 commit e0bd240

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

config/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ module.exports = {
1414

1515
// Various Dev Server settings
1616
host: 'www.codejoy.world', // can be overwritten by process.env.HOST
17+
// host: '192.168.1.149', // can be overwritten by process.env.HOST
1718
port: 9527, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
18-
autoOpenBrowser: false,
19+
autoOpenBrowser: true,
1920
errorOverlay: true,
2021
notifyOnErrors: true,
2122
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-

src/pages/components/PythonEditor.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@
368368
color: #e5e5e5;
369369
}
370370
371+
#myCanvas{
372+
min-width:400px;
373+
}
371374
.cancel-bt {
372375
font-family: "Museo Sans Rounded 900";
373376
width: 80px;
@@ -389,15 +392,18 @@
389392
.output-wrap div{
390393
font-family: "Museo Sans Rounded 900";
391394
color:#fff;
392-
padding-left: 25px;
393395
font-size:22px;
394396
letter-spacing:1px;
395397
-webkit-box-sizing: border-box;
396398
-moz-box-sizing: border-box;
397399
box-sizing: border-box;
398400
}
401+
.output-head{
402+
padding-left: 25px;
403+
}
399404
.output-row{
400405
height:60% !important;
406+
min-width:400px;
401407
}
402408
.output-row:last-child{
403409
margin-top:20px !important;
@@ -416,6 +422,9 @@
416422
letter-spacing: 1px;
417423
color:#fff;
418424
}
425+
.row-wrap{
426+
display:flex;
427+
}
419428
</style>
420429
<style scoped>
421430
.editor-wrap {

0 commit comments

Comments
 (0)