Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update font size of monaco editor (#7867)

boojackea40c45607bd
diff --git a/frontend/src/components/MonacoEditor/DiffEditor.vue b/frontend/src/components/MonacoEditor/DiffEditor.vue
index 3ef4c1df33..6250b9430e 100644
--- a/frontend/src/components/MonacoEditor/DiffEditor.vue
+++ b/frontend/src/components/MonacoEditor/DiffEditor.vue
@@ -72,7 +72,7 @@ const initEditorInstance = () => {
},
wordWrap: "on",
fixedOverflowWidgets: true,
- fontSize: 15,
+ fontSize: 14,
lineHeight: 24,
scrollBeyondLastLine: false,
padding: {
@@ -144,4 +144,7 @@ watch(
.monaco-editor .scroll-decoration {
display: none !important;
}
+.monaco-editor .line-numbers {
+ @apply pr-2;
+}
</style>
diff --git a/frontend/src/components/MonacoEditor/MonacoEditor.vue b/frontend/src/components/MonacoEditor/MonacoEditor.vue
index 9247cb52b2..7bd2332385 100644
--- a/frontend/src/components/MonacoEditor/MonacoEditor.vue
+++ b/frontend/src/components/MonacoEditor/MonacoEditor.vue
@@ -101,7 +101,7 @@ const initEditorInstance = () => {
},
wordWrap: "on",
fixedOverflowWidgets: true,
- fontSize: 15,
+ fontSize: 14,
lineHeight: 24,
scrollBeyondLastLine: false,
padding: {
@@ -427,4 +427,7 @@ defineExpose({
.monaco-editor .scroll-decoration {
display: none !important;
}
+.monaco-editor .line-numbers {
+ @apply pr-2;
+}
</style>