Skip to content

Commit 40ca921

Browse files
committed
Reset list styles more
1 parent fd6cff1 commit 40ca921

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

django_prose_editor/static/django_prose_editor/overrides.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/overrides.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@
6565
}
6666

6767
/* List styling improvements */
68+
.ProseMirror ul {
69+
list-style-type: disc;
70+
}
71+
72+
.ProseMirror li {
73+
list-style: inherit !important;
74+
padding: 0;
75+
margin: 0;
76+
}
77+
6878
.ProseMirror ol,
6979
.ProseMirror ul {
7080
padding-left: 2.5em !important; /* Bring markers closer to content area */

0 commit comments

Comments
 (0)