fix(ui): enforce standard markdown list rendering with hanging indents using list-style-position outside
This commit is contained in:
parent
e87b91146d
commit
b0cdea6c4a
@ -412,19 +412,22 @@
|
||||
color: #0f172a;
|
||||
}
|
||||
.markdown-body ul, .markdown-body ol {
|
||||
padding-left: 24px;
|
||||
padding-left: 24px !important;
|
||||
margin-bottom: 12px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
.markdown-body ul {
|
||||
list-style-type: disc;
|
||||
list-style-type: disc !important;
|
||||
list-style-position: outside !important;
|
||||
}
|
||||
.markdown-body ol {
|
||||
list-style-type: decimal;
|
||||
list-style-type: decimal !important;
|
||||
list-style-position: outside !important;
|
||||
}
|
||||
.markdown-body li {
|
||||
margin-bottom: 6px;
|
||||
display: list-item;
|
||||
display: list-item !important;
|
||||
padding-left: 4px;
|
||||
}
|
||||
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4 {
|
||||
margin-top: 16px;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user