Skip to content

Commit

Permalink
Merge pull request #91 from singhpaul/firefox-nested-lists-fix
Browse files Browse the repository at this point in the history
Solves issue where Firefox nested lists continued numbering from parent
  • Loading branch information
elad2412 authored Aug 24, 2024
2 parents 1f52db2 + 286eda2 commit b55a03f
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 b55a03f

Please sign in to comment.