1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-02 12:47:41 +02:00

Desktop: Fixes #11313: Don't completely left-align the editor with the toolbar (#11316)

This commit is contained in:
Henry Heino 2024-11-05 09:53:35 -08:00 committed by GitHub
parent da10297572
commit cbe55055e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -187,7 +187,8 @@ const createTheme = (theme: EditorTheme): Extension[] => {
// Allows editor content to be left-aligned with the toolbar on desktop.
// See https://github.com/laurent22/joplin/issues/11279
[`${editorNoGuttersSelector} .cm-line`]: theme.isDesktop ? {
paddingLeft: 0,
// Note: This cannot be zero:
paddingLeft: '1px',
} : undefined,
// Override the default URL style when the URL is within a link