From 3dbfff5f41b00139a751a01434410f49a806144d Mon Sep 17 00:00:00 2001 From: MichaelWin Date: Mon, 3 Nov 2025 18:19:06 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91=E5=8D=95?= =?UTF-8?q?=E8=A1=8C=E5=AD=97=E4=BD=93=E7=9C=81=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/assets/css/table.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/resources/static/assets/css/table.css b/src/main/resources/static/assets/css/table.css index b8ade30..4d9b809 100644 --- a/src/main/resources/static/assets/css/table.css +++ b/src/main/resources/static/assets/css/table.css @@ -115,3 +115,10 @@ body { margin-bottom: 16px; color: #adb5bd; } + +.ellipsis-single { + white-space: nowrap; /* 禁止换行 */ + overflow: hidden; /* 隐藏超出部分 */ + text-overflow: ellipsis; /* 显示省略号 */ + max-width: 200px; /* 自定义最大宽度(根据需求调整,如 150px/300px) */ +}