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:
commit
80f52c6ad8
|
@ -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();
|
||||
|
|
|
@ -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='正在连接...';
|
||||
|
|
Loading…
Reference in New Issue