mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-05 08:42:42 +00:00
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…
x
Reference in New Issue
Block a user