From 53267704153a7707c27154789f988a81a43355e7 Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Sun, 18 Jun 2023 23:15:18 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20adjust=20the=20edit=20box=20st?= =?UTF-8?q?yle=20to=20fix=20the=20text=20overflow=20problem=20=F0=9F=90=9B?= =?UTF-8?q?"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/game.js | 3 --- mode/connect.js | 1 - 2 files changed, 4 deletions(-) diff --git a/game/game.js b/game/game.js index d0157fa69..774d556b1 100644 --- a/game/game.js +++ b/game/game.js @@ -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(); diff --git a/mode/connect.js b/mode/connect.js index d88f5a978..95bca1221 100644 --- a/mode/connect.js +++ b/mode/connect.js @@ -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='正在连接...';