Skip to content

Commit 10583bf

Browse files
committed
Merge branch 'release-3.1' into dev
2 parents 6f17495 + b3ea127 commit 10583bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/editor/CodeMirror/theme.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ const createTheme = (theme: EditorTheme): Extension[] => {
187187
// Allows editor content to be left-aligned with the toolbar on desktop.
188188
// See https://github.com/laurent22/joplin/issues/11279
189189
[`${editorNoGuttersSelector} .cm-line`]: theme.isDesktop ? {
190-
paddingLeft: 0,
190+
// Note: This cannot be zero:
191+
paddingLeft: '1px',
191192
} : undefined,
192193

193194
// Override the default URL style when the URL is within a link

0 commit comments

Comments
 (0)