Skip to content

Commit f2b2a4e

Browse files
authored
fix: article - lists styling (#325)
1 parent d45f49b commit f2b2a4e

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

libs/blog/articles/ui-article-content/src/lib/article-content/article-content.component.scss

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,23 @@
5353
font-weight: 900;
5454
}
5555

56-
ul {
57-
padding-left: 1.8rem;
58-
margin: 1.4rem 0;
59-
line-height: 1.7;
56+
ul,
57+
ol {
58+
@apply my-5 pl-7 leading-7;
6059

6160
li {
62-
list-style: disc;
63-
margin: 0.4rem 0;
61+
@apply my-2;
6462
}
6563
}
6664

65+
ul {
66+
@apply list-disc;
67+
}
68+
69+
ol {
70+
@apply list-decimal;
71+
}
72+
6773
img {
6874
background-color: #ffffff;
6975
}

0 commit comments

Comments
 (0)