Skip to content

Commit f500842

Browse files
authored
Updating ordered lists numbering border (#22972)
* updating ordered lists numbering border * moving 8px away
1 parent da7c906 commit f500842

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

  • components/ui/MarkdownContent/stylesheets

components/ui/MarkdownContent/stylesheets/lists.scss

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,19 @@
1313
margin-bottom: 5px;
1414

1515
&:before {
16-
top: 2px;
17-
font-size: 16px;
16+
width: 22px;
17+
height: 22px;
18+
font-size: 14px;
19+
margin: 1px 0 0 8px;
1820
content: counter(li);
1921
counter-increment: li;
2022
position: absolute;
2123
left: 0;
22-
height: 100%;
23-
padding: 0 10px 0 0;
24-
color: var(--color-fg-subtle);
25-
font-weight: bold;
26-
line-height: 35px;
27-
text-align: right;
24+
color: var(--color-canvas-default);
25+
font-weight: 500;
26+
text-align: center;
2827
border-radius: 50%;
29-
width: 24px;
30-
height: 24px;
31-
background-color: var(--color-canvas-default);
28+
background-color: var(--color-fg-default);
3229
}
3330

3431
&:after {

0 commit comments

Comments
 (0)