1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-10 22:11:50 +02:00

Desktop,Mobile: Fixes #12573: Markdown editor: Make list indentation size equivalent to four spaces (#12794)

This commit is contained in:
Henry Heino
2025-07-25 11:18:14 -07:00
committed by GitHub
parent e13985a952
commit 6c761b3fb4

View File

@@ -107,13 +107,6 @@ const createTheme = (theme: EditorTheme): Extension[] => {
marginRight: `${theme.marginRight}px`,
},
'& .cm-listItem': {
// Needs to be !important because the tab-size is directly set on the element style
// attribute by CodeMirror. And the `EditorState.tabSize` function only accepts a
// number, while we need a "em" value to make it match the viewer tab size.
tabSize: `${theme.listTabSize} !important`,
},
'&.cm-focused .cm-cursor': baseCursorStyle,
// The desktop app sets the font for these elements to a specific font.