PaulS
6
@tomasz86 Thanks for sharing your code! Looks quite good, however I noticed that on some notebooks with many todo list items there are problems as they are displayed with extra vertical space.
This can be prevented with the following extended variant:
.note-list > .list-item-container,
.note-list > .list-item-container > div,
.note-list > .list-item-container > .todo-list-item {
height: auto !important;
line-height: 1.5 !important;
max-height: 50px !important;
min-height: 32px !important;
}
.note-list > .list-item-container > a,
.note-list > .list-item-container > .todo-list-item > a {
padding-bottom: 7px !important;
padding-right: 16px !important;
padding-top: 7px !important;
white-space: normal !important;
word-break: break-word !important;
}
.note-list > .list-item-container > a > span:first-child {
height: 100% !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
}
However, there are still issues with flickering scroll bars or missing lines at the end of the list in some notebooks.