From c858186d9f43e978a6c8cfc299141ed25b64e2ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Thu, 21 Nov 2024 16:32:11 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/classTask/newClassTaskAssign/index.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/renderer/src/views/classTask/newClassTaskAssign/index.vue b/src/renderer/src/views/classTask/newClassTaskAssign/index.vue index 2529974..8cd77c0 100644 --- a/src/renderer/src/views/classTask/newClassTaskAssign/index.vue +++ b/src/renderer/src/views/classTask/newClassTaskAssign/index.vue @@ -26,7 +26,7 @@ @@ -743,13 +743,16 @@ const editWork = async (cform) =>{ // overflow: hidden; // flex-direction: row; // text-overflow: ellipsis; - width: 230px; /* 设置容器的宽度 */ + width: 100%; /* 设置容器的宽度 */ overflow: hidden; /* 隐藏超出容器的部分 */ white-space: nowrap; /* 防止文本换行 */ text-overflow: ellipsis; /* 超出部分显示省略号 */ .ellipsis { width: 100%; text-align: left; + overflow: hidden; /* 隐藏超出容器的部分 */ + white-space: nowrap; /* 防止文本换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ } } -- 2.44.0.windows.1