From e61777612f081f63f85efaa64e2306c88fb45c21 Mon Sep 17 00:00:00 2001 From: Valentin Geyer Date: Mon, 30 Dec 2024 21:51:24 +0100 Subject: [PATCH] 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 --- frontend/global-styles/markdown-tweaks.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/global-styles/markdown-tweaks.scss b/frontend/global-styles/markdown-tweaks.scss index e1b7e96ea..589f3387b 100644 --- a/frontend/global-styles/markdown-tweaks.scss +++ b/frontend/global-styles/markdown-tweaks.scss @@ -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;