mirror of
https://github.com/imfing/hextra.git
synced 2025-07-01 15:37:46 -04:00
fix: clear top margin for nested list recursively (#280)
* fix: clear top margin for nested list children * chore: run `npm run build:css`
This commit is contained in:
@ -58,9 +58,9 @@
|
||||
}
|
||||
}
|
||||
/* This CSS rule targets the first nested unordered (ul) or ordered (ol) list
|
||||
inside the first list item (li) of any parent ul or ol.
|
||||
inside the list item (li) of any parent ul or ol.
|
||||
The rule sets the top margin of the selected list to zero. */
|
||||
:where(ul, ol) > li:first-child > :where(ul, ol):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
||||
:where(ul, ol) > li > :where(ul, ol):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
||||
@apply mt-0;
|
||||
}
|
||||
:where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)) {
|
||||
|
Reference in New Issue
Block a user