From 09a4bbdc071a6c05ac086b74f0f82f8999772754 Mon Sep 17 00:00:00 2001 From: lutinglt Date: Sat, 23 Aug 2025 11:55:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E4=BF=AE=E6=94=B9=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=99=A8=E5=AD=97=E4=BD=93=E5=A4=A7=E5=B0=8F,=20?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E5=85=89=E6=A0=87=E9=94=99=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.md | 1 + styles/components/editor.ts | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/release.md b/.github/release.md index 8cd75a4..de5929a 100644 --- a/.github/release.md +++ b/.github/release.md @@ -11,6 +11,7 @@ - 修复仓库中文 README 时的按钮下划线长度 - 修复登录二次验证页面内容位置 - 修复后台管理的运维管理面板的样式 +- 取消修改编辑器字体大小, 避免光标错位 ## 📃 English (From AI) diff --git a/styles/components/editor.ts b/styles/components/editor.ts index d111205..45412ab 100644 --- a/styles/components/editor.ts +++ b/styles/components/editor.ts @@ -4,17 +4,11 @@ export const monaco = css` .monaco-editor { --vscode-editor-background: ${themeVars.color.body} !important; --vscode-editorGutter-background: ${themeVars.color.body} !important; - .monaco-mouse-cursor-text { - font-size: 12px !important; - } // 滚动时固定在顶部的行 .sticky-widget { background: ${themeVars.color.body} !important; box-shadow: 0 1px 0 ${themeVars.color.secondary.self} !important; width: 100% !important; - .sticky-line-content { - font-size: 12px !important; - } } } `;