This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix: section with collapsible content jerk issue
version-14
Jannat Patel
3 years ago
parent
643f864e83
commit
ae10160e61
2 changed files
with
7 additions
and
2 deletions
Split View
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
View File
@@ -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
View File
@@ -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…
Cancel
Save