Skip to content

Commit

Permalink
make carousel responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
noumo committed Jun 18, 2015
1 parent 3135625 commit 980f6e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/carousel/api/Carousel.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function api_widget($width, $height, $clientOptions = [])
}

$widget = \yii\bootstrap\Carousel::widget([
'options' => ['class' => 'slide', 'style' => 'width: ' . $width . 'px'],
'options' => ['class' => 'slide'],
'clientOptions' => $this->clientOptions,
'items' => $items
]);
Expand Down

0 comments on commit 980f6e1

Please sign in to comment.