本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
anoopmb
/
frappe
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
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
父節點
06c1d79bb0
ae10160e61
當前提交
f2ea10a6be
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID:
4AEE18F83AFDEB23
共有
2 個檔案被更改
,包括
7 行新增
和
2 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
frappe/public/scss/website/page_builder.scss
+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 -%}
Write
Preview
Loading…
取消
儲存