Skip to content

Commit

Permalink
Make list type selector case sensitive (#2418)
Browse files Browse the repository at this point in the history
* Make list type selector case sensitive

* Create .changeset/quiet-lamps-smile.md
  • Loading branch information
simurai authored Apr 6, 2023
1 parent 7dfcb0c commit bce38de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/quiet-lamps-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Make list type selector case sensitive
8 changes: 4 additions & 4 deletions src/markdown/lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@
}
}

ol[type='a'] {
ol[type='a s'] {
list-style-type: lower-alpha;
}

ol[type='A'] {
ol[type='A s'] {
list-style-type: upper-alpha;
}

ol[type='i'] {
ol[type='i s'] {
list-style-type: lower-roman;
}

ol[type='I'] {
ol[type='I s'] {
list-style-type: upper-roman;
}

Expand Down

0 comments on commit bce38de

Please sign in to comment.