Compare commits

..

No commits in common. "9603db5929ea7c0cbe2a8208ac20677d4f8521b8" and "e47725e14eea3ea8c261017b25754bc9cfe2a24b" have entirely different histories.

3 changed files with 6 additions and 8 deletions

View File

@ -3,10 +3,9 @@
flex-wrap: nowrap !important;
}
.siema {
/*margin: 1rem 0;*/
margin: 0;
background-color: #000;
position: relative;
margin: 0;
}
.siema-img {
@ -51,6 +50,6 @@
margin: 0;
align-self: center;
}
.archive-carousel-container {
.archive-carousel-container {
position: relative;
}

View File

@ -92,9 +92,10 @@ class Carousel extends AbstractBlockLayout
}
}
}
$wrap = $block->dataValue('wrapStyle') . 'height:'.$block->dataValue('height').';';
return $view->partial('common/block-layout/simple-carousel', [
'carousel_id' => 'ic_' . ++$id,
'height' => $block->dataValue('height'),
'duration' => $block->dataValue('duration'),
'perPage' => $block->dataValue('perPage'),
'loop' => $block->dataValue('loop'),
@ -103,7 +104,7 @@ class Carousel extends AbstractBlockLayout
'images' => $images,
'autoSlide' => $block->dataValue('autoSlide'),
'autoSlideInt' => $block->dataValue('autoSlideInt'),
'wrapStyle' => $wrap,
'wrapStyle' => $block->dataValue('wrapStyle'),
'imgStyle' => $block->dataValue('imgStyle'),
'ui_background' => $block->dataValue('ui_background'),
'renderSourceLink' => $block->dataValue('renderSourceLink'),

View File

@ -7,9 +7,7 @@
?>
<style>
#siema-ui {
/* background-color: <?php echo $ui_background ?>; */
}
/* styles placed in carousel.css */
</style>
<div class="archive-item-block archive-carousel">