mirror of
https://github.com/primer/css.git
synced 2024-12-23 22:24:11 +03:00
Merge pull request #1420 from hpalacio/hpalacio/lists
lists.scss: reset <ol> without 'type' attr to "decimal"
This commit is contained in:
commit
57c1797b78
5
.changeset/quiet-rings-confess.md
Normal file
5
.changeset/quiet-rings-confess.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@primer/css": patch
|
||||
---
|
||||
|
||||
lists.scss: reset <ol> without 'type' attr to "decimal"
|
@ -26,6 +26,12 @@
|
||||
list-style-type: lower-roman;
|
||||
}
|
||||
|
||||
// Reset <ol> style to decimal (HTML default) specifically for AsciiDoc
|
||||
// <div><ol> construction (doesn't affect MarkDown)
|
||||
div > ol:not([type]) {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
// Did someone complain about list spacing? Encourage them
|
||||
// to create the spacing with their markdown formatting.
|
||||
// List behavior should be controled by the markup, not the css.
|
||||
|
Loading…
Reference in New Issue
Block a user