From f3d4db769ba9b51b799d981511a710fd443d0e08 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 21 四月 2025 12:18:03 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/tabviews/custom/components/share/braftContent/index.scss | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 41 insertions(+), 2 deletions(-) diff --git a/src/tabviews/custom/components/share/braftContent/index.scss b/src/tabviews/custom/components/share/braftContent/index.scss index ee9d422..93359e3 100644 --- a/src/tabviews/custom/components/share/braftContent/index.scss +++ b/src/tabviews/custom/components/share/braftContent/index.scss @@ -1,25 +1,64 @@ .braft-content { + padding: 15px; .media-wrap { max-width: 100%; } img { max-width: 100%; } + p { + margin-bottom: 0px!important; + min-height: 18px; + } + br { + content: ""; + display: block; + } + br + br { + height: 18px; + } + hr { + height: 15px; + border-top: 1px solid rgba(0, 0, 0, 0.1); + margin-top: 15px; + } video { max-width: 100%; + width: 100%; + } + table + p, hr + p { + min-height: 0px; } table { width: 100%; border-collapse: collapse; border-spacing: 0; margin: 10px 0px; + --table-font-size: 16px; + tr:first-child { background-color: #f0f0f0; } td, th { - padding: 5px 14px; - font-size: 16px; + padding: 5px 10px; + font-size: var(--table-font-size, 16px); border: 1px solid #ddd; } } + ul { + list-style: disc; + font-size: 16px; + margin: 1em 0px; + li { + list-style: disc; + } + } + ol { + list-style: normal; + font-size: 16px; + margin: 1em 0px; + li { + list-style: normal; + } + } } \ No newline at end of file -- Gitblit v1.8.0