Skip to content

Commit

Permalink
Fix nested <ul> in footnotes (#2260)
Browse files Browse the repository at this point in the history
* Fix nested `<ul>` in footnotes

* Stylelint auto-fixes

* Create fresh-llamas-stare.md

Co-authored-by: Actions Auto Build <actions@github.com>
  • Loading branch information
simurai and actions-user authored Sep 28, 2022
1 parent b5e0097 commit 6569fb3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fresh-llamas-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Fix nested `<ul>` in footnotes
6 changes: 6 additions & 0 deletions src/markdown/footnotes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@

ol {
padding-left: $spacer-3;

ul {
display: inline-block;
padding-left: $spacer-3;
margin-top: $spacer-3;
}
}

li {
Expand Down

0 comments on commit 6569fb3

Please sign in to comment.