Skip to content

Commit

Permalink
feat(ld-slider): add slider component
Browse files Browse the repository at this point in the history
  • Loading branch information
renet authored Jul 4, 2022
1 parent 7a02f6c commit 4200ec6
Show file tree
Hide file tree
Showing 133 changed files with 4,831 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,9 @@ module.exports = function (eleventyConfig) {
output += '\n</div>'
}

output += `<div slot="show">${codeWebComponent.replaceAll(
/\n\n/g,
'\n'
)}</div>`
output += `<div slot="show"${
finalConfig.gap ? ` style="gap: ${finalConfig.gap}"` : ''
}>${codeWebComponent.replaceAll(/\n\n/g, '\n')}</div>`

if (codeCssComponent) {
output += `<div slot="showCssComponent">${codeCssComponent.replaceAll(
Expand Down
Loading

0 comments on commit 4200ec6

Please sign in to comment.