取消修改编辑器字体大小, 避免光标错位

This commit is contained in:
lutinglt
2025-08-23 11:55:33 +08:00
parent 68d632a6b3
commit 09a4bbdc07
2 changed files with 1 additions and 6 deletions

1
.github/release.md vendored
View File

@@ -11,6 +11,7 @@
- 修复仓库中文 README 时的按钮下划线长度 - 修复仓库中文 README 时的按钮下划线长度
- 修复登录二次验证页面内容位置 - 修复登录二次验证页面内容位置
- 修复后台管理的运维管理面板的样式 - 修复后台管理的运维管理面板的样式
- 取消修改编辑器字体大小, 避免光标错位
## 📃 English (From AI) ## 📃 English (From AI)

View File

@@ -4,17 +4,11 @@ export const monaco = css`
.monaco-editor { .monaco-editor {
--vscode-editor-background: ${themeVars.color.body} !important; --vscode-editor-background: ${themeVars.color.body} !important;
--vscode-editorGutter-background: ${themeVars.color.body} !important; --vscode-editorGutter-background: ${themeVars.color.body} !important;
.monaco-mouse-cursor-text {
font-size: 12px !important;
}
// 滚动时固定在顶部的行 // 滚动时固定在顶部的行
.sticky-widget { .sticky-widget {
background: ${themeVars.color.body} !important; background: ${themeVars.color.body} !important;
box-shadow: 0 1px 0 ${themeVars.color.secondary.self} !important; box-shadow: 0 1px 0 ${themeVars.color.secondary.self} !important;
width: 100% !important; width: 100% !important;
.sticky-line-content {
font-size: 12px !important;
}
} }
} }
`; `;