Skip to content

Commit 6827d48

Browse files
style: update nested ol (#22057)
<!--Delete sections as needed --> ## Description Update style for nested ordered lists to use numbers, then letters, then roman numerals. Example: https://deploy-preview-22057--docsdocker.netlify.app/contribute/components/lists/ https://docs.docker.com/contribute/components/lists/ ![image](https://github.com/user-attachments/assets/bdcaf793-e970-402a-8e8a-3c18d5554584) ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews - [ ] Editorial review Signed-off-by: Craig <[email protected]>
1 parent 115be65 commit 6827d48

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

assets/css/lists.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.prose ol {
2+
list-style-type: decimal;
3+
}
4+
5+
.prose ol ol {
6+
list-style-type: lower-alpha;
7+
}
8+
9+
.prose ol ol ol {
10+
list-style-type: lower-roman;
11+
}
12+

assets/css/styles.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
@import "/assets/css/syntax-light";
1414
@import "/assets/css/syntax-dark";
1515
@import "/assets/css/icons";
16+
@import "/assets/css/lists";

0 commit comments

Comments
 (0)