Revert "fix: adjust the edit box style to fix the text overflow problem 🐛"

This commit is contained in:
Spmario233 2023-06-18 23:15:18 +08:00 committed by GitHub
parent 63a036c324
commit 5326770415
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -38452,9 +38452,6 @@
input.style.webkitUserSelect='text'; input.style.webkitUserSelect='text';
} }
input.style.minWidth='10px'; input.style.minWidth='10px';
input.style.maxWidth='60%';
input.style.overflow='hidden';
input.style.whiteSpace='nowrap';
input.onkeydown=function(e){ input.onkeydown=function(e){
if(e.keyCode==13){ if(e.keyCode==13){
e.preventDefault(); e.preventDefault();

View File

@ -39,7 +39,6 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
node.contentEditable=true; node.contentEditable=true;
node.style.webkitUserSelect='text'; node.style.webkitUserSelect='text';
node.style.textAlign='center'; node.style.textAlign='center';
node.style.overflow='hidden';
var connect=function(e){ var connect=function(e){
event.textnode.innerHTML='正在连接...'; event.textnode.innerHTML='正在连接...';