Skip to content

Commit ddaf584

Browse files
authored
Remove custom spacing of lists (#813)
1 parent 16de5b9 commit ddaf584

File tree

1 file changed

+1
-22
lines changed
  • src/Elastic.Markdown/Assets/markdown

1 file changed

+1
-22
lines changed
Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,15 @@
11
.markdown-content {
22
ol,ul {
3-
@apply mt-4;
43
line-height: 1.5em;
54
letter-spacing: 0;
65
margin-left: 1.5em;
7-
/*list-style-position: inside;*/
86
li::marker {
97
@apply text-grey-80;
108
}
119
}
1210

13-
ul li {
14-
/*@apply pl-[.5ch];*/
15-
}
16-
17-
li>ul, li>ol {
18-
@apply mt-1;
19-
}
20-
2111
li {
22-
@apply first:mt-0 mt-1;
12+
@apply mt-4;
2313
}
2414

2515
ul {list-style-type: disc; }
@@ -35,15 +25,4 @@
3525
ol>li>ol>li>ol>li>ol { list-style-type: decimal; }
3626
ol>li>ol>li>ol>li>ol>li>ol { list-style-type: lower-alpha; }
3727
ol>li>ol>li>ol>li>ol>li>ol>li>ol { list-style-type: lower-roman; }
38-
39-
/* Special handling of elements within a list item */
40-
li>*:first-child,
41-
li>p:nth-child(2)
42-
{
43-
@apply mt-1;
44-
}
45-
li>p:first-child
46-
{
47-
@apply mt-4;
48-
}
4928
}

0 commit comments

Comments
 (0)