Skip to content

Commit

Permalink
Solves issue where Firefox nested lists continued numbering from parent
Browse files Browse the repository at this point in the history
  • Loading branch information
singhpaul committed Jul 19, 2024
1 parent 1f52db2 commit 286eda2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions css/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ ol, ul, menu, summary {
list-style: none;
}

/* Firefox: solve issue where nested ordered lists continue numbering from parent (https://bugzilla.mozilla.org/show_bug.cgi?id=1881517) */
ol {
counter-reset: revert;
}

/* For images to not be able to exceed their container */
img {
max-inline-size: 100%;
Expand Down

0 comments on commit 286eda2

Please sign in to comment.