diff --git a/frontend/less/espo/custom.less b/frontend/less/espo/custom.less index e369d0d6f0..9dc92e592e 100644 --- a/frontend/less/espo/custom.less +++ b/frontend/less/espo/custom.less @@ -2513,8 +2513,8 @@ table.table td.cell .html-container { h5:first-child, h6:first-child, p:first-child, - ul:first-child, - ol:first-child, + > ul:first-child, + > ol:first-child, pre:first-child, blockquote:first-child { margin-top: 0 !important; @@ -2553,13 +2553,23 @@ table.table td.cell .html-container { } p:last-child, - ul:last-child, - ol:last-child, + > ul:last-child, + > ol:last-child, blockquote:last-child, pre:last-child { margin-bottom: 0; } + ul, + ol { + > li { + ul, ol{ + margin-top: 4px; + margin-bottom: 4px; + } + } + } + ul > li { list-style-type: disc; }