Skip to content

Commit 94583e7

Browse files
committed
docs(examples): update carousel transition duration and disable drag options in gallery configuration
1 parent 19d1fed commit 94583e7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/examples/ExampleActiveClasses.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ const config = {
2121
</template>
2222

2323
<style scoped>
24-
:root {
25-
--carousel-transition: 300ms;
24+
.carousel {
25+
--carousel-transition: 500ms;
2626
--carousel-opacity-inactive: 0.7;
2727
--carousel-opacity-active: 1;
2828
--carousel-opacity-near: 0.9;

docs/examples/ExampleGallery.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ const galleryConfig = {
2020
const thumbnailsConfig = {
2121
itemsToShow: 7,
2222
wrapAround: true,
23+
mouseDrag: false,
24+
touchDrag: false,
2325
height: 100,
2426
gap: 10,
2527
}

0 commit comments

Comments
 (0)