Add files via upload

This commit is contained in:
公明
2026-01-28 19:20:22 +08:00
committed by GitHub
parent 79fa951da8
commit 7c35c93f23
3 changed files with 74 additions and 39 deletions
+32
View File
@@ -233,6 +233,12 @@
margin-bottom: 24px;
}
.api-table-wrapper {
overflow-x: auto;
width: 100%;
-webkit-overflow-scrolling: touch;
}
.api-section:last-child {
margin-bottom: 0;
}
@@ -257,6 +263,7 @@
width: 100%;
border-collapse: collapse;
font-size: 0.875rem;
table-layout: auto;
}
.api-params-table th,
@@ -266,6 +273,25 @@
border-bottom: 1px solid var(--border-color);
}
/* 参数名、类型、必需、示例列不换行 */
.api-params-table th:nth-child(1),
.api-params-table td:nth-child(1),
.api-params-table th:nth-child(2),
.api-params-table td:nth-child(2),
.api-params-table th:nth-child(4),
.api-params-table td:nth-child(4),
.api-params-table th:nth-child(5),
.api-params-table td:nth-child(5) {
white-space: nowrap;
}
/* 描述列允许换行 */
.api-params-table th:nth-child(3),
.api-params-table td:nth-child(3) {
white-space: normal;
word-break: break-word;
}
.api-params-table th {
background: var(--bg-secondary);
font-weight: 600;
@@ -293,6 +319,12 @@
font-weight: 600;
}
.api-param-optional {
color: var(--text-muted);
font-size: 0.75rem;
font-weight: 400;
}
.api-test-section {
margin-top: 24px;
padding-top: 24px;