From f91573e9480cd2dbd129681e1ae0a63134bf3f3a Mon Sep 17 00:00:00 2001 From: nanhaoluo <3075912108@qq.com> Date: Tue, 27 Jan 2026 11:03:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=20API=20=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E8=A1=A8=E6=A0=BC=E5=AE=BD=E5=BA=A6=E5=92=8C=E5=88=97?= =?UTF-8?q?=E5=AE=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 增加表格最大宽度从 1000px 到 1200px - 默认使用 100% 宽度,仅在超宽屏幕(1600px+)时避让目录 - 扩大各列宽度:名称 120px、提供商 110px、模型 150px、密钥 140px、端点 180px、操作 200px - 增加 code 标签最大宽度从 120px 到 160px,显示更多内容 --- settings.php | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/settings.php b/settings.php index 17a7f45..629b113 100644 --- a/settings.php +++ b/settings.php @@ -58,10 +58,15 @@ function themeoptions_page(){ width: 100%; } #argon-unified-api-list { - max-width: 1000px; - width: calc(100% - 240px); + max-width: 1200px; + width: 100%; margin: 0; } + @media screen and (min-width: 1600px) { + #argon-unified-api-list { + width: calc(100% - 200px); + } + } @media screen and (max-width: 1200px) { #argon-unified-api-list { max-width: 100%; @@ -81,37 +86,37 @@ function themeoptions_page(){ } .argon-ai-api-table th:nth-child(1), .argon-ai-api-table td:nth-child(1) { - width: 70px; + width: 120px; } .argon-ai-api-table th:nth-child(2), .argon-ai-api-table td:nth-child(2) { - width: 80px; + width: 110px; } .argon-ai-api-table th:nth-child(3), .argon-ai-api-table td:nth-child(3) { - width: 100px; + width: 150px; } .argon-ai-api-table th:nth-child(4), .argon-ai-api-table td:nth-child(4) { - width: 120px; + width: 140px; } .argon-ai-api-table th:nth-child(5), .argon-ai-api-table td:nth-child(5) { - width: 120px; + width: 180px; } .argon-ai-api-table th:nth-child(6), .argon-ai-api-table td:nth-child(6) { - width: 80px; + width: 100px; } .argon-ai-api-table th:nth-child(7), .argon-ai-api-table td:nth-child(7) { - width: 140px; + width: 200px; overflow: visible; text-overflow: clip; } .argon-ai-api-table td code { display: inline-block; - max-width: 120px; + max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;