Compare commits

..

2 Commits

Author SHA1 Message Date
buttle 9603db5929 Merge branch 'fix' into main 2021-09-13 13:51:11 +02:00
buttle 0183bb4428 recovers working carousel 2021-09-13 13:48:30 +02:00
3 changed files with 8 additions and 6 deletions

View File

@ -3,9 +3,10 @@
flex-wrap: nowrap !important;
}
.siema {
margin: 0;
/*margin: 1rem 0;*/
background-color: #000;
position: relative;
margin: 0;
}
.siema-img {

View File

@ -92,10 +92,9 @@ 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'),
@ -104,7 +103,7 @@ class Carousel extends AbstractBlockLayout
'images' => $images,
'autoSlide' => $block->dataValue('autoSlide'),
'autoSlideInt' => $block->dataValue('autoSlideInt'),
'wrapStyle' => $block->dataValue('wrapStyle'),
'wrapStyle' => $wrap,
'imgStyle' => $block->dataValue('imgStyle'),
'ui_background' => $block->dataValue('ui_background'),
'renderSourceLink' => $block->dataValue('renderSourceLink'),

View File

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