From c174e00df4413534acc14ffa0ca9ecd5192052ea Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Thu, 2 Apr 2026 21:11:24 +0800 Subject: [PATCH] fix layout --- web_src/css/modules/charescape.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web_src/css/modules/charescape.css b/web_src/css/modules/charescape.css index eac6d86a81..0c9cbb55b5 100644 --- a/web_src/css/modules/charescape.css +++ b/web_src/css/modules/charescape.css @@ -17,8 +17,10 @@ Only show the real-char: content: attr(data-escaped); } .broken-code-point[data-escaped] .char { - display: inline-block; - width: 0; /* make it copyable by selecting the text */ + /* make it copyable by selecting the text (AI suggestion, no other solution) */ + position: absolute; + opacity: 0; + pointer-events: none; } /*