Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: align font size for line numbers with the code editor (#4862)

Yeoh Joer1913a1591dd2
diff --git a/frontend/src/css/app/Cell.css b/frontend/src/css/app/Cell.css
index 4975c49961..79343bc55b 100644
--- a/frontend/src/css/app/Cell.css
+++ b/frontend/src/css/app/Cell.css
@@ -334,6 +334,10 @@
font-size: var(--marimo-code-editor-font-size, 0.9rem);
}
+.cm-lineNumbers {
+ font-size: var(--marimo-code-editor-font-size, 0.9rem);
+}
+
/* .marimo-cell is needed to take precedence over codemirror's generated class ... */
.marimo-cell .cm-editor {
border: 1px solid transparent;