Fixed todolist hover

pull/2828/head
Siddhant Sehgal 2020-03-22 00:17:17 +05:30
parent 09583a3016
commit 38a4da622e
3 changed files with 511 additions and 449 deletions

View File

@ -171,7 +171,7 @@ class NoteListComponent extends React.Component {
const checkbox = item.is_todo ? (
<div style={{ display: 'flex', height: style.height, alignItems: 'center', paddingLeft: hPadding }}>
<input
style={{ margin: 0, marginBottom: 1 }}
style={{ margin: 0, marginBottom: 1, marginRight: 5 }}
type="checkbox"
defaultChecked={!!item.todo_completed}
onClick={event => {
@ -230,7 +230,6 @@ class NoteListComponent extends React.Component {
// item is changed via sync.
return (
<div key={`${item.id}_${item.todo_completed}`} style={style}>
{checkbox}
<a
ref={ref}
className="list-item"
@ -244,6 +243,7 @@ class NoteListComponent extends React.Component {
onDragStart={event => onDragStart(event)}
data-id={item.id}
>
{checkbox}
{watchedIcon}
{titleComp}
</a>

File diff suppressed because it is too large Load Diff

View File

@ -109,7 +109,7 @@
"html-minifier": "^4.0.0",
"htmlparser2": "^4.1.0",
"image-type": "^3.0.0",
"joplin-turndown": "^4.0.23",
"joplin-turndown": "^4.0.24",
"joplin-turndown-plugin-gfm": "^1.0.12",
"json-stringify-safe": "^5.0.1",
"jssha": "^2.3.1",