From e9c55bbd43c27ec5a32cd5e1166fa4539751b945 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sat, 15 Apr 2023 17:22:16 +0300 Subject: [PATCH] css fix --- frontend/less/espo/custom.less | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) 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; }