From b5d90cc59a25809b493e3dd693c71ab9f26cad3d Mon Sep 17 00:00:00 2001 From: landaiqing Date: Sun, 5 Oct 2025 18:53:49 +0800 Subject: [PATCH] :sparkles: Added the ability to automatically scroll to active tabs --- frontend/src/common/constant/config.ts | 2 +- frontend/src/components/tabs/TabContainer.vue | 46 ++++++++++++++++++- internal/models/config.go | 2 +- 3 files changed, 47 insertions(+), 3 deletions(-) diff --git a/frontend/src/common/constant/config.ts b/frontend/src/common/constant/config.ts index 09806ea..f76b1bc 100644 --- a/frontend/src/common/constant/config.ts +++ b/frontend/src/common/constant/config.ts @@ -119,7 +119,7 @@ export const DEFAULT_CONFIG: AppConfig = { editing: { fontSize: CONFIG_LIMITS.fontSize.default, fontFamily: FONT_OPTIONS[0].value, - fontWeight: 'normal', + fontWeight: '400', lineHeight: CONFIG_LIMITS.lineHeight.default, enableTabIndent: true, tabSize: CONFIG_LIMITS.tabSize.default, diff --git a/frontend/src/components/tabs/TabContainer.vue b/frontend/src/components/tabs/TabContainer.vue index 363794b..55a824a 100644 --- a/frontend/src/components/tabs/TabContainer.vue +++ b/frontend/src/components/tabs/TabContainer.vue @@ -31,7 +31,7 @@