From d0bf6eda09faaa51b4baa1fcf3325f04a3872373 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 17 Sep 2026 15:02:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(home):=20=E6=89=8B=E6=9C=BAheader=E8=A1=8C2?= =?UTF-8?q?=E5=86=8D=E6=94=B6=E7=B4=A7(nav=2011px+gap=206px)=E2=80=94?= =?UTF-8?q?=E2=80=94en=E5=AF=BC=E8=88=AA12px=E5=AE=9E=E6=B5=8B372>366?= =?UTF-8?q?=E6=8A=98=E8=A1=8C,11px=3D348=E7=95=9918px=E4=BD=99=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/home.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wwwroot/home.css b/wwwroot/home.css index af8d280..b9e6fb1 100644 --- a/wwwroot/home.css +++ b/wwwroot/home.css @@ -134,15 +134,15 @@ html[data-theme="dark"] .pl-tag-live{color:#4ade80!important} 单行预算不够(jp 登录文案最宽),且 bricks Text 是 flex 容器 min-width:auto 不缩 → logo 文字曾溢出叠到主题按钮上。两行后预算充足,ellipsis 仅作极端字体兜底。 .pl-logo-box 为生成器加的 logo VBox class;语言切换=header 第 7 个子(urlwidget)。 */ - .pl-header{flex-wrap:wrap!important;padding:8px 12px!important;gap:6px 8px!important} + .pl-header{flex-wrap:wrap!important;padding:8px 12px!important;gap:6px!important} .pl-header > *{flex-shrink:0!important} .pl-header > .filler{display:none!important} .pl-logo-box{order:1;flex:1 1 auto;min-width:0!important} .pl-logo-box > *{min-width:0!important;max-width:100%!important} .pl-btn-sm{order:2;white-space:nowrap!important;padding:7px 14px!important;font-size:12px!important} - /* 行2 预算:en 导航最宽(Capabilities/Pipelines/Workflow),12px 字号+8px gap - 才能与主题(60)+语言(80)同排(实测 347 ≤ 366) */ - .pl-nav{order:3;font-size:12px!important} + /* 行2 预算实测:en 导航 12px 时 200px+主题60+语言80+gap32=372>366 折第三行; + 11px 导航(184)+gap24=348 ≤ 366,留 18px 余量 */ + .pl-nav{order:3;font-size:11px!important} .theme-icon-btn{order:4;margin-left:auto} .pl-header > *:nth-child(7){order:5} .pl-logo{font-size:15px!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}