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

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

View File

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