Merge pull request #137 from libccy/revert-135-fix-style-input

Revert "fix: adjust the edit box style to fix the text overflow problem 🐛"
This commit is contained in:
Spmario233 2023-06-18 23:15:39 +08:00 committed by GitHub
commit 80f52c6ad8
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.minWidth='10px';
input.style.maxWidth='60%';
input.style.overflow='hidden';
input.style.whiteSpace='nowrap';
input.onkeydown=function(e){
if(e.keyCode==13){
e.preventDefault();

View File

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