We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 640b1cd commit 7557766Copy full SHA for 7557766
2 files changed
components/article/ArticlePage.tsx
@@ -123,9 +123,9 @@ export const ArticlePage = () => {
123
124
<ActionList
125
key={title}
126
- items={miniTocItems.map((items) => {
+ items={miniTocItems.map((items, i) => {
127
return {
128
- key: title,
+ key: title + i,
129
text: title,
130
renderItem: () => <ul>{renderTocItem(items)}</ul>,
131
}
components/ui/MarkdownContent/stylesheets/lists.scss
@@ -15,7 +15,6 @@
15
&:before {
16
top: 2px;
17
font-size: 16px;
18
- width: 24px;
19
content: counter(li);
20
counter-increment: li;
21
position: absolute;
@@ -26,6 +25,10 @@
26
25
font-weight: bold;
27
line-height: 35px;
28
text-align: right;
+ border-radius: 50%;
29
+ width: 24px;
30
+ height: 24px;
31
+ background-color: var(--color-canvas-default);
32
33
34
&:after {
0 commit comments