fix(typography): add styles for task lists with checkboxes and update documentation (#796)

* fix(typography): add styles for task lists with checkboxes and update documentation

* chore: run task css

* feat(docs): add task lists to markdown guides in Persian, Japanese, and Simplified Chinese
This commit is contained in:
Xin
2025-08-26 20:28:29 +01:00
committed by GitHub
parent 22f81e2470
commit f9a94f02a6
6 changed files with 53 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -60,6 +60,10 @@
@apply hx:my-2;
}
}
/* Task lists - hide list markers for lists containing checkboxes */
:where(ul):not(:where([class~=not-prose],[class~=not-prose] *)):has(li input[type="checkbox"]) {
@apply hx:list-none;
}
/* This CSS rule targets the first nested unordered (ul) or ordered (ol) list
inside the list item (li) of any parent ul or ol.
The rule sets the top margin of the selected list to zero. */