修改部分样式

This commit is contained in:
Wenjie Zhang 2025-03-23 19:22:00 +08:00
parent f797d66128
commit cc57de2bd6
2 changed files with 5 additions and 5 deletions

View File

@ -66,7 +66,7 @@ async def create_document_by_file(db_id: str = Body(...), files: List[str] = Bod
@data.get("/info") @data.get("/info")
async def get_database_info(db_id: str): async def get_database_info(db_id: str):
logger.debug(f"Get database {db_id} info") # logger.debug(f"Get database {db_id} info")
database = knowledge_base.get_database_info(db_id) database = knowledge_base.get_database_info(db_id)
if database is None: if database is None:
raise HTTPException(status_code=404, detail="Database not found") raise HTTPException(status_code=404, detail="Database not found")

View File

@ -713,7 +713,7 @@ watch(
h1 { h1 {
margin-bottom: 20px; margin-bottom: 20px;
font-size: 24px; font-size: 1.2rem;
color: #333; color: #333;
} }
@ -759,7 +759,7 @@ watch(
padding: 0.625rem 1.25rem; padding: 0.625rem 1.25rem;
user-select: text; user-select: text;
word-break: break-word; word-break: break-word;
font-size: 16px; font-size: 0.9rem;
font-variation-settings: 'wght' 400, 'opsz' 10.5; font-variation-settings: 'wght' 400, 'opsz' 10.5;
font-weight: 400; font-weight: 400;
box-sizing: border-box; box-sizing: border-box;
@ -891,7 +891,6 @@ watch(
padding: 0.5rem 0.5rem; padding: 0.5rem 0.5rem;
background-color: transparent; background-color: transparent;
border: none; border: none;
font-size: 1.2rem;
margin: 0 0; margin: 0 0;
color: #111111; color: #111111;
font-size: 16px; font-size: 16px;
@ -1080,7 +1079,7 @@ watch(
pre { pre {
border-radius: 8px; border-radius: 8px;
font-size: 14px; font-size: 0.9rem;
border: 1px solid var(--main-light-3); border: 1px solid var(--main-light-3);
padding: 1rem; padding: 1rem;
@ -1089,6 +1088,7 @@ watch(
} }
code.hljs { code.hljs {
font-size: 0.8rem;
background-color: var(--gray-100); background-color: var(--gray-100);
} }
} }