From 893b74b1cbc7623dbd6382bef28540244af7a9ac Mon Sep 17 00:00:00 2001 From: yuetsh <517252939@qq.com> Date: Tue, 29 Sep 2026 08:31:08 +0800 Subject: [PATCH] =?UTF-8?q?style(=E9=A2=98=E7=9B=AE):=20=E5=B7=A6=E6=A0=8F?= =?UTF-8?q?=E3=80=8C=E9=A2=98=E7=9B=AE=20/=20=E7=BB=93=E6=9E=9C=E3=80=8D?= =?UTF-8?q?=E5=92=8C=E5=8F=B3=E6=A0=8F=E5=B7=A5=E5=85=B7=E6=A0=8F=E7=9A=84?= =?UTF-8?q?=E4=B8=8B=E8=BE=B9=E7=BA=BF=E5=AF=B9=E9=BD=90=EF=BC=8C=E5=88=86?= =?UTF-8?q?=E9=9A=94=E7=BA=BF=E5=A4=84=E4=B8=8D=E5=86=8D=E9=94=99=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E5=8F=B0=E9=98=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- apps/web/src/oj/problem/detail.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/web/src/oj/problem/detail.vue b/apps/web/src/oj/problem/detail.vue index 7db6019..05bcfe2 100644 --- a/apps/web/src/oj/problem/detail.vue +++ b/apps/web/src/oj/problem/detail.vue @@ -408,10 +408,12 @@ onBeforeUnmount(() => { height: 100%; } -/* 「题目 / 结果」:下划线式页签,右边是抽屉的三个胶囊按钮 */ +/* 「题目 / 结果」:下划线式页签,右边是抽屉的三个胶囊按钮。 + 高度和右栏工具栏、抽屉头部一样是 48(设计稿画的 42):没有上下文条时两边并排, + 差 6px 的话两条下边线在分隔线处错成一个台阶 */ .tab-row { flex: none; - height: 42px; + height: 48px; box-sizing: border-box; padding: 0 20px 0 12px; display: flex; @@ -426,7 +428,7 @@ onBeforeUnmount(() => { } .page-tab { - height: 42px; + height: 48px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent;