Browse Source

added description in accordion, default opened

bach 3 years ago
parent
commit
e4b4a967a0

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/main.js


+ 9 - 1
web/themes/custom/materiotheme/vuejs/components/Content/ModalCard.vue

@@ -85,8 +85,16 @@
           </div>
         </section> -->
       </nav>
-      <section class="body" v-html="material.body"/>
       <vsa-list>
+        <vsa-item :initActive="true">
+          <vsa-heading>
+            <span class="label">Description</span>
+          </vsa-heading>
+          <vsa-content>
+            <section class="body" v-html="material.body"/>
+          </vsa-content>
+        </vsa-item>
+
         <vsa-item v-if="material.linked_materials">
           <vsa-heading>
             <span class="label">{{ $t("materio.Linked materials") }}</span>

Some files were not shown because too many files changed in this diff