29 lines
534 B
CSS
29 lines
534 B
CSS
/* 自定义样式文件 */
|
|
|
|
/* 确保SwaggerUI容器有足够的高度 */
|
|
.swagger-container {
|
|
min-height: 600px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* SwaggerUI组件的容器样式 */
|
|
.api-docs-container {
|
|
background: var(--vp-c-bg);
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
/* 为API文档页面添加特殊样式 */
|
|
.api-page .content-container {
|
|
max-width: none !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
/* 响应式调整 */
|
|
@media (max-width: 960px) {
|
|
.api-docs-container {
|
|
padding: 10px;
|
|
margin: 10px 0;
|
|
}
|
|
} |