Skip to content

Commit

Permalink
Delete ks-space to carousel
Browse files Browse the repository at this point in the history
  • Loading branch information
Agath21 committed Jan 21, 2025
1 parent c242a23 commit db1009a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions templates/carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ templates.carousel = function(dom, div) {
var position = ol.extent.getCenter(feature.getGeometry().getExtent()).join(",");

carousel_items.push(['<div id="c' + (counter) + '" class="item carousel-item" data-featureid="' + feature.getId() + '" data-position="' + position + '" >',
content,
'<div class="ks-space"></br></br></br></br></br></div></div>'
content
].join(" "));

carousel_indicators.push('<button data-bs-target="#myCarousel" data-bs-slide-to="' + (counter - 1) + '" data-featureid="' + feature.getId() + '" data-position="' + position + '" ></button>');
Expand Down Expand Up @@ -178,8 +177,7 @@ templates.carousel = function(dom, div) {
carousel_items.push(['<div id="c' + (counter) + '" class="carousel-item ' + content.classes.join(" ") + '" data-featureid="' + feature.getId() + '" data-position="' + position + '" >',
content.background,
content.title,
content.text.join(" "),
'<div class="ks-space"></br></br></br></br></br></div></div>'
content.text.join(" ")
].join(" ") + ['<style>', content.style.join(" "), '</style>'].join(" "));


Expand Down

0 comments on commit db1009a

Please sign in to comment.