fix: restore markdown preview list markers (#223)
* fix: restore list markers in markdown preview The app-wide CSS reset removes list-style from all elements, which strips bullet points and numbers from markdown preview content. Add scoped overrides for .markdown-body to restore disc/circle/square markers for unordered lists and decimal markers for ordered lists. * fix: restore markdown preview list markers
This commit is contained in:
@@ -545,6 +545,12 @@
|
||||
list-style: square;
|
||||
}
|
||||
|
||||
/* GFM task lists already render an explicit checkbox input, so keeping the
|
||||
browser marker here would show both a bullet and a checkbox for one item. */
|
||||
.markdown-body ul.contains-task-list,
|
||||
.markdown-body li.task-list-item {
|
||||
list-style: none;
|
||||
}
|
||||
.markdown-body li {
|
||||
margin: 0.25em 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user