Skip to content

Commit 1fc8d38

Browse files
committed
Merge pull request #78 from primer/docs_lists
Break ols too, and add a clearer docs note
2 parents 8bef52e + 220aa02 commit 1fc8d38

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/docs.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ body {
282282
}
283283

284284
// Override Markdown styles to restore values from `_type.scss`
285-
ul {
285+
ul,
286+
ol {
286287
padding: 0;
287288
margin-top: 0;
288289
margin-bottom: 0;

docs/type.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,11 @@ Wrap `<blockquote>` around any <abbr title="HyperText Markup Language">HTML</abb
6666

6767
## Lists
6868

69+
**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.
70+
6971
### Unordered
7072

71-
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.
73+
A list of items in which the order does *not* explicitly matter.
7274

7375
{% example html %}
7476
<ul>

0 commit comments

Comments
 (0)