Просмотр исходного кода

fix: issue with collapsible section

version-14
Jannat Patel 3 лет назад
Родитель
Сommit
f571691afb
2 измененных файлов: 7 добавлений и 1 удалений
  1. +6
    -0
      frappe/public/scss/website/page_builder.scss
  2. +1
    -1
      frappe/website/web_template/section_with_collapsible_content/section_with_collapsible_content.html

+ 6
- 0
frappe/public/scss/website/page_builder.scss Просмотреть файл

@@ -479,6 +479,12 @@
align-items: center;
}

.collapsible-item-title {
font-weight: 600;
color: var(--gray-900);
font-size: var(--text-2xl);
}

.collapsible-item a {
text-decoration: none;
}


+ 1
- 1
frappe/website/web_template/section_with_collapsible_content/section_with_collapsible_content.html Просмотреть файл

@@ -10,7 +10,7 @@
{%- set collapse_id = 'id-' + frappe.utils.generate_hash('Collapse', 12) -%}
<a class="collapsible-title" data-toggle="collapse" href="#{{ collapse_id }}" role="button"
aria-expanded="false" aria-controls="{{ collapse_id }}">
<h3>{{ item.title }}</h3>
<div class="collapsible-item-title">{{ item.title }}</div>
<svg class="collapsible-icon" width="24" height="24" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path class="vertical" d="M8 4V12" stroke="currentColor" stroke-width="1.5" stroke-miterlimit="10"
stroke-linecap="round"


Загрузка…
Отмена
Сохранить