Skip to content

Commit

Permalink
docs(tabbed-doc): don't have any space or new lines around content wh…
Browse files Browse the repository at this point in the history
…en placing inside tab div (#1039)
  • Loading branch information
jbarnardmoj authored Dec 20, 2024
1 parent a9767b7 commit 5b8a085
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,7 @@ module.exports = function (eleventyConfig) {
const tabPanels = tabsStorage.map((tab, index) => {
const isHidden = index === 0 ? '' : ' govuk-tabs__panel--hidden';
return `
<div class="govuk-tabs__panel${isHidden}" id="${tabId(tab)}" role="tabpanel">
${tab.content}
</div>
<div class="govuk-tabs__panel${isHidden}" id="${tabId(tab)}" role="tabpanel">${tab.content}</div>
`.trim();
}).join("").trim();

Expand Down

0 comments on commit 5b8a085

Please sign in to comment.