diff --git a/webapp/static/css/app.css b/webapp/static/css/app.css index 078d148..0b1a7ca 100644 --- a/webapp/static/css/app.css +++ b/webapp/static/css/app.css @@ -308,7 +308,14 @@ table.group-table td { border-bottom: 1px solid #f1f5f9; font-variant-numeric: t .llm-role-label { font-size: 13px; font-weight: 600; min-width: 180px; color: var(--ink); } .llm-role-select { min-width: 240px; } -/* ---------- 报告导出按钮 ---------- */ +/* ---------- API 文档 iframe ---------- */ +#view-apidocs { padding: 0; display: flex; flex-direction: column; flex: 1; } +.apidocs-frame { + flex: 1; + width: 100%; + height: calc(100vh - 64px); /* 64px = topbar 高度 */ + border: none; +} .report-actions { display: flex; justify-content: flex-end; margin: 0 0 12px; } diff --git a/webapp/static/index.html b/webapp/static/index.html index ac11520..67defaf 100644 --- a/webapp/static/index.html +++ b/webapp/static/index.html @@ -28,6 +28,9 @@ +
+ + +