From f09d82571f9fb374bfe9d91a3bd986ddb59d61cb Mon Sep 17 00:00:00 2001 From: Yara <2528691862@qq.com> Date: Thu, 25 Dec 2025 14:33:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=95=99=E5=B8=88=E7=AB=AF=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E8=AF=BE=E7=A8=8B=E7=9A=84=E5=8D=A1=E7=89=87=E8=87=AA?= =?UTF-8?q?=E9=80=82=E5=BA=94=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Html/apps/static/css/teacherboard.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Html/apps/static/css/teacherboard.css b/Html/apps/static/css/teacherboard.css index 6ba7c9a..0c46bea 100644 --- a/Html/apps/static/css/teacherboard.css +++ b/Html/apps/static/css/teacherboard.css @@ -162,8 +162,11 @@ margin: 15% auto; padding: 20px; border-radius: 10px; - width: 40%; - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + width: 80%; /* 修改为80%以适应小屏幕 */ + max-width: 600px; /* 设置最大宽度 */ + box-shadow: 0 4px 8px rgba(0, 0, 0, 0 1); + overflow-y: auto; /* 添加垂直滚动条 */ + max-height: 80vh; /* 设置最大高度 */ } /* 按钮样式 */