Fix completed card design.
This commit is contained in:
parent
6cf07eb72b
commit
9b0c5f332b
2 changed files with 4 additions and 5 deletions
4
TODO.md
4
TODO.md
|
|
@ -14,10 +14,9 @@
|
||||||
|
|
||||||
## Bugs
|
## Bugs
|
||||||
|
|
||||||
- [ ] When the dots menu shows on a 'completed' item the stuff behind it shows through
|
|
||||||
|
|
||||||
## Done
|
## Done
|
||||||
|
|
||||||
|
- [x] When the dots menu shows on a 'completed' item the stuff behind it shows through
|
||||||
- [x] Pressing + in a column and then cancel removes the button entirely
|
- [x] Pressing + in a column and then cancel removes the button entirely
|
||||||
- [x] Group all indented lines after each item with the item
|
- [x] Group all indented lines after each item with the item
|
||||||
- [x] Link to source for self-hosting
|
- [x] Link to source for self-hosting
|
||||||
|
|
@ -34,4 +33,3 @@
|
||||||
- [x] Give each column a max width of 450px and have them stretch to fill the area up to that.
|
- [x] Give each column a max width of 450px and have them stretch to fill the area up to that.
|
||||||
- [x] Don't put carriage returns between individual TODO list items. As far as possible try to preserve original formatting, just moving individual lines around without disturbing other lines.
|
- [x] Don't put carriage returns between individual TODO list items. As far as possible try to preserve original formatting, just moving individual lines around without disturbing other lines.
|
||||||
- [x] Ability to create a project on the projects select page, including if TODO.md is empty.
|
- [x] Ability to create a project on the projects select page, including if TODO.md is empty.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -278,7 +278,7 @@
|
||||||
border-color: var(--fg);
|
border-color: var(--fg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.card.completed {
|
.card.completed .card-header {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -370,6 +370,7 @@
|
||||||
min-width: 150px;
|
min-width: 150px;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
display: none;
|
display: none;
|
||||||
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-menu.active {
|
.card-menu.active {
|
||||||
|
|
@ -1923,7 +1924,7 @@ chmod 755 kbtd
|
||||||
: originalLine.replace('- [ ]', '- [x]');
|
: originalLine.replace('- [ ]', '- [x]');
|
||||||
await updateLineInFile(lineNum, newLine);
|
await updateLineInFile(lineNum, newLine);
|
||||||
}
|
}
|
||||||
}, checkbox, h('span', { textContent: 'Complete' }));
|
}, checkbox, h('span', { textContent: 'Completed' }));
|
||||||
|
|
||||||
const moveItem = h('button', {
|
const moveItem = h('button', {
|
||||||
className: 'card-menu-item',
|
className: 'card-menu-item',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue