Skip to content

Commit c8c6634

Browse files
Merge pull request #5170 from gets0ul/issue_5168
fix: rendering of ordered list numbering and unordered list bullet
2 parents 470d5fd + 4d565ff commit c8c6634

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

src/shared/components/Terms/TermDetails.scss

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,44 @@
4040
br + br {
4141
display: none;
4242
}
43+
44+
ol {
45+
margin: 0 0 5px;
46+
counter-reset: item;
47+
font-size: 15px;
48+
color: $tc-gray-90;
49+
line-height: 25px;
50+
display: table;
51+
52+
li {
53+
list-style-type: none;
54+
font-weight: 400;
55+
counter-increment: item;
56+
display: table-row;
57+
white-space: normal;
58+
59+
&::before {
60+
display: table-cell;
61+
font-weight: 700;
62+
text-align: right;
63+
content: counter(item) ".";
64+
padding: 0 10px 0 0;
65+
width: 32px;
66+
}
67+
}
68+
}
69+
70+
ul {
71+
margin: 0 0 5px 20px;
72+
font-size: 15px;
73+
color: $tc-gray-90;
74+
line-height: 25px;
75+
list-style: disc outside none;
76+
77+
li {
78+
font-weight: 400;
79+
}
80+
}
4381
}
4482

4583
.frame {

0 commit comments

Comments
 (0)