mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-02 12:47:41 +02:00
This commit is contained in:
parent
da10297572
commit
cbe55055e9
3
packages/editor/CodeMirror/theme.ts
vendored
3
packages/editor/CodeMirror/theme.ts
vendored
@ -187,7 +187,8 @@ const createTheme = (theme: EditorTheme): Extension[] => {
|
|||||||
// Allows editor content to be left-aligned with the toolbar on desktop.
|
// Allows editor content to be left-aligned with the toolbar on desktop.
|
||||||
// See https://github.com/laurent22/joplin/issues/11279
|
// See https://github.com/laurent22/joplin/issues/11279
|
||||||
[`${editorNoGuttersSelector} .cm-line`]: theme.isDesktop ? {
|
[`${editorNoGuttersSelector} .cm-line`]: theme.isDesktop ? {
|
||||||
paddingLeft: 0,
|
// Note: This cannot be zero:
|
||||||
|
paddingLeft: '1px',
|
||||||
} : undefined,
|
} : undefined,
|
||||||
|
|
||||||
// Override the default URL style when the URL is within a link
|
// Override the default URL style when the URL is within a link
|
||||||
|
Loading…
Reference in New Issue
Block a user