root 3 years ago
parent
commit
7cc4f0c20e
2 changed files with 5 additions and 5 deletions
  1. 2 2
      index.html
  2. 3 3
      src/blockly/cocoblockly.js

+ 2 - 2
index.html

@@ -685,14 +685,14 @@
                     </li>
                     <i id="workspace_screenshot"
                         style="margin-left:5px;cursor: pointer;position: absolute;right: 350px;">
-                        <img src="./images/screenshot.png" style="width: 40px;height: 35px;margin:15px;" />
+                        <img src="./images/screenshot.png" style="width: 40px;height: 35px;margin:15px 0 0 0;" />
                     </i>
                     <i id="button_delete" class="material-icons sketch_name_icon right"
                         style="margin-left:5px;cursor: pointer;display: none;">delete</i>
 
                     <li id="sketch_name-li" style="position: absolute;right: 135px;">
                         <input id="sketch_name" placeholder="请输入作品名称" class="sketch_name"
-                            style="background: #fff;padding: 4px 10px 4px 20px;color:#222222;width:200px;font-style: initial;line-height: 30px;"
+                            style="background: #fff;padding: 4px 10px 4px 7px;color:#222222;width:200px;font-style: initial;line-height: 30px; font-size: 15px;"
                             type="text">
                     </li>
 

+ 3 - 3
src/blockly/cocoblockly.js

@@ -540,9 +540,9 @@ function handle_upload(socket, res) {
                         errormsg = Ardublockly.LOCALISED_TEXT[_uploadererror[i][1]]
                     }
                 }
-                $('#err-msg').text(`${CCB.str_group.errCode} ${Error.code}
-                \n${CCB.str_group.errMsg} ${Error.msg}
-                \n${CCB.str_group.errSol}\n${errormsg}`);
+                // ${CCB.str_group.errCode} ${Error.code}
+                // \n${CCB.str_group.errMsg} ${Error.msg}
+                $('#err-msg').text(`\n${CCB.str_group.errSol}\n${errormsg}`);
             }
             $('.card-reveal').css({ 'display': 'block', 'transform': 'translateY(-100%)', 'padding': '8px 13px' });
             eproxy.emit('progress-response', 'upload-error');