瀏覽代碼

Merge pull request #14205 from pateljannat/section-with-collapsable-content-jerk-issue

fix: section with collapsible content jerk issue
version-14
gavin 3 年之前
committed by GitHub
父節點
當前提交
f2ea10a6be
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 2 個檔案被更改,包括 7 行新增2 行删除
  1. +4
    -1
      frappe/public/scss/website/page_builder.scss
  2. +3
    -1
      frappe/website/web_template/section_with_collapsible_content/section_with_collapsible_content.html

+ 4
- 1
frappe/public/scss/website/page_builder.scss 查看文件

@@ -486,9 +486,12 @@
}

.collapsible-content {
color: $gray-700;
}

.collapsible-content p {
margin-top: 1rem;
margin-bottom: 0;
color: $gray-700;
}

.section-with-collapsible-content.align-center {


+ 3
- 1
frappe/website/web_template/section_with_collapsible_content/section_with_collapsible_content.html 查看文件

@@ -21,7 +21,9 @@
</svg>
</a>
<div class="collapse collapsible-content from-markdown" id="{{ collapse_id }}">
{{ frappe.utils.md_to_html(item.content) }}
<div>
{{ frappe.utils.md_to_html(item.content) }}
</div>
</div>
</div>
{%- endfor -%}


Loading…
取消
儲存