From cc57de2bd69ba374c2213e16b593c7560a92a2f3 Mon Sep 17 00:00:00 2001 From: Wenjie Zhang Date: Sun, 23 Mar 2025 19:22:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routers/data_router.py | 2 +- web/src/components/ChatComponent.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/routers/data_router.py b/src/routers/data_router.py index a352e0c4..6b51e531 100644 --- a/src/routers/data_router.py +++ b/src/routers/data_router.py @@ -66,7 +66,7 @@ async def create_document_by_file(db_id: str = Body(...), files: List[str] = Bod @data.get("/info") 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) if database is None: raise HTTPException(status_code=404, detail="Database not found") diff --git a/web/src/components/ChatComponent.vue b/web/src/components/ChatComponent.vue index 0c09a1fa..bdb2afda 100644 --- a/web/src/components/ChatComponent.vue +++ b/web/src/components/ChatComponent.vue @@ -713,7 +713,7 @@ watch( h1 { margin-bottom: 20px; - font-size: 24px; + font-size: 1.2rem; color: #333; } @@ -759,7 +759,7 @@ watch( padding: 0.625rem 1.25rem; user-select: text; word-break: break-word; - font-size: 16px; + font-size: 0.9rem; font-variation-settings: 'wght' 400, 'opsz' 10.5; font-weight: 400; box-sizing: border-box; @@ -891,7 +891,6 @@ watch( padding: 0.5rem 0.5rem; background-color: transparent; border: none; - font-size: 1.2rem; margin: 0 0; color: #111111; font-size: 16px; @@ -1080,7 +1079,7 @@ watch( pre { border-radius: 8px; - font-size: 14px; + font-size: 0.9rem; border: 1px solid var(--main-light-3); padding: 1rem; @@ -1089,6 +1088,7 @@ watch( } code.hljs { + font-size: 0.8rem; background-color: var(--gray-100); } }