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; - } } } `;