1
1
mirror of https://github.com/primer/css.git synced 2024-09-22 06:07:31 +03:00

Merge pull request #78 from primer/docs_lists

Break ols too, and add a clearer docs note
This commit is contained in:
Mark Otto 2015-03-30 11:28:33 -07:00
commit 1fc8d384ee
2 changed files with 5 additions and 2 deletions

View File

@ -282,7 +282,8 @@ body {
}
// Override Markdown styles to restore values from `_type.scss`
ul {
ul,
ol {
padding: 0;
margin-top: 0;
margin-bottom: 0;

View File

@ -66,9 +66,11 @@ Wrap `<blockquote>` around any <abbr title="HyperText Markup Language">HTML</abb
## Lists
**Heads up!** The broken display of lists is **intentional** as Primer globally resets `<ul>`s and `<ol>`s for the time being. This will eventually be undone in the next major version.
### Unordered
A list of items in which the order does *not* explicitly matter. **The broken display is intended** as Primer resets `<ul>`s and `<ol>`s for the time being. This will eventually be undone in the next major version.
A list of items in which the order does *not* explicitly matter.
{% example html %}
<ul>