1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

All: Fixes #1325: Fixed nested checkbox indentation

This commit is contained in:
Laurent Cozic 2019-03-12 22:24:44 +00:00
parent 1030b412ff
commit 4000cb5d1c

View File

@ -170,9 +170,15 @@ module.exports = function(style, options) {
position: relative;
}
/* Remove the indentation from the checkboxes at the root of the document
(otherwise they are too far right), but keep it for their children to allow
nested lists */
#rendered-md > ul > li.md-checkbox {
margin-left: -` + listMarginLeft + `;
}
li.md-checkbox {
list-style-type: none;
margin-left: -` + listMarginLeft + `;
}
li.md-checkbox input[type=checkbox] {