From 365ce0a7b4f58c4aeaa05afdc478f15f2a7e550b Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Tue, 29 Sep 2026 19:23:25 +0800 Subject: [PATCH] =?UTF-8?q?style(=E6=8F=90=E4=BA=A4=E5=88=97=E8=A1=A8):=20?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=94=B9=E5=9B=9E=E6=AF=94=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=8C=BA=E7=AA=84=E4=B8=80=E7=82=B9=EF=BC=8846=20:=2054?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 56% 的列表嫌宽了。46% 在机房 1280 的屏上题目列约 215px,快照里抽的几组各 50 行题目名 都放得下,特别长的看鼠标提示;大屏上列表最宽 900。 Co-Authored-By: Claude Opus 5.5 --- apps/web/src/oj/submission/list.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/web/src/oj/submission/list.vue b/apps/web/src/oj/submission/list.vue index 41edae9..b141ce6 100644 --- a/apps/web/src/oj/submission/list.vue +++ b/apps/web/src/oj/submission/list.vue @@ -1224,11 +1224,12 @@ function dayBreak(index: number) { display: flex; } -/* 列表占多一点:学生的代码大多十来行、一行几十个字,右边给多了是一片空白(用户看过定的)。 - 大屏上列表最宽 1000,再宽一行里全是空隙 */ +/* 列表比代码区窄一点(46 : 54,用户看过定的):原来列表固定 560、代码占满,右边空一大片; + 改成 56% 又嫌列表太宽。46% 在 1280 的屏上题目列约 215px,九成题目名放得下,长的看 title。 + 大屏上列表最宽 900 */ .list { - flex: 0 0 56%; - max-width: 1000px; + flex: 0 0 46%; + max-width: 900px; box-sizing: border-box; border-right: 1px solid v-bind("theme.dividerColor"); display: flex;