feat(frontend): Correctly align todo list checkbox
Some checks failed
E2E Tests / backend-mariadb (push) Has been cancelled
Docker / build-and-push (backend) (push) Has been cancelled
Docker / build-and-push (frontend) (push) Has been cancelled
E2E Tests / backend-sqlite (push) Has been cancelled
Run tests & build / Test and build with NodeJS 20 (push) Has been cancelled
E2E Tests / backend-postgres (push) Has been cancelled
E2E Tests / Build test build of frontend (push) Has been cancelled
Lint and check format / Lint files and check formatting (push) Has been cancelled
REUSE Compliance Check / reuse (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Static Analysis / Njsscan code scanning (push) Has been cancelled
Static Analysis / CodeQL analysis (push) Has been cancelled
E2E Tests / frontend-cypress (1) (push) Has been cancelled
E2E Tests / frontend-cypress (2) (push) Has been cancelled
E2E Tests / frontend-cypress (3) (push) Has been cancelled

If a task in a markdown todo list has multiple lines, the checkbox
is now correctly placed at the first line and not the last line.
Closes #5907

Signed-off-by: Valentin Geyer <trayshar@t-online.de>
This commit is contained in:
Valentin Geyer 2024-12-30 21:51:24 +01:00 committed by Erik Michelson
parent 94bb6e9c9f
commit e61777612f

View file

@ -23,6 +23,12 @@
}
}
// Fixes checkboxes moving to bottom row if task is multiline
ul.contains-task-list > li.task-list-item:has(input.task-list-item-checkbox) {
display: flex;
align-items: baseline;
}
.alert {
& > p, & > ul {
margin-bottom: 0;