mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-28 14:04:43 -04:00
feat(frontend): Correctly align todo list checkbox
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:
parent
94bb6e9c9f
commit
e61777612f
1 changed files with 6 additions and 0 deletions
|
@ -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 {
|
.alert {
|
||||||
& > p, & > ul {
|
& > p, & > ul {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue