Add space between Q&A accordion marker and question
This commit is contained in:
parent
7c99ec4ae6
commit
d059c8ff30
|
@ -94,7 +94,9 @@ module.exports = function (eleventyConfig) {
|
||||||
const questionMarkup = markdownLibrary.renderInline(question);
|
const questionMarkup = markdownLibrary.renderInline(question);
|
||||||
const answerMarkup = markdownLibrary.render(answer);
|
const answerMarkup = markdownLibrary.render(answer);
|
||||||
return `<details class="qna-accordion">
|
return `<details class="qna-accordion">
|
||||||
<summary class="qna-accordion__question">${questionMarkup}</summary>
|
<summary class="qna-accordion__question">
|
||||||
|
${questionMarkup}
|
||||||
|
</summary>
|
||||||
<div class="qna-accordion__answer">${answerMarkup}</div>
|
<div class="qna-accordion__answer">${answerMarkup}</div>
|
||||||
</details>`;
|
</details>`;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue