mirror of
https://github.com/imfing/hextra.git
synced 2025-08-27 19:46:34 -04:00
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:
@@ -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. */
|
||||
|
Reference in New Issue
Block a user