ouidade 3 年之前
父節點
當前提交
313774a21f

+ 1 - 1
web/profiles/d8-starterkit-profile

@@ -1 +1 @@
-Subproject commit 9b46db9c56faf2cbc965ea1b76ce5345e7f46c0f
+Subproject commit 6fe8986494069c7e9bf019cbe98d8f2c7d5166d0

+ 1 - 1
web/themes/custom/eql/css-compiled/styles.css

@@ -722,7 +722,7 @@ a {
           display: inline-flex;
           content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)"  rotate="-45" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
           justify-self: flex-end; }
-      .block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-reponse .panel-heading {
+      .block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-reponse {
         display: none; }
       .block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .opened {
         display: block; }

+ 1 - 1
web/themes/custom/eql/scripts/main.js

@@ -16,7 +16,7 @@ function toggleMenu(event) {
 // faq reponse open
 
 var answer = document.getElementsByClassName("panel-body");
-var questions = document.getElementsByClassName(".field--name-field-question");
+var questions = document.getElementsByClassName("field--name-field-question");
 
 for (let i = 0; i < questions.length; i++) {
   const question = questions[i]

+ 2 - 2
web/themes/custom/eql/scss/pages/_faq.scss

@@ -28,9 +28,9 @@
             }
     
             .field--name-field-reponse{
-                .panel-heading{
+               
                     display: none;
-                }
+               
             }
             .opened{
              display: block;