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; flex-wrap: nowrap !important;
} }
.siema { .siema {
/*margin: 1rem 0;*/ margin: 0;
background-color: #000; background-color: #000;
position: relative; position: relative;
margin: 0;
} }
.siema-img { .siema-img {

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

View File

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