1
1
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:
simurai 2021-05-26 17:30:43 +09:00 committed by GitHub
commit 57c1797b78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"@primer/css": patch
---
lists.scss: reset <ol> without 'type' attr to "decimal"

View File

@ -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.