Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use slots
  • Loading branch information
fagubla committed Feb 21, 2024
commit 8ddfe24b4a89202a1624e9d96533d4ff1268518f
15 changes: 11 additions & 4 deletions resources/js/processes-catalogue/components/ProcessesCarousel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@
v-for="(image, index) in images.length > 0 ? images : defaultImage"
:key="index"
class="custom-style"
:img-src="image.url"
/>
>
<template #img>
<img
:src="image.url"
:alt="process.name"
class="d-block w-100 img-carousel"
>
</template>
</b-carousel-slide>
</b-carousel>
</div>
</template>
Expand Down Expand Up @@ -74,7 +81,7 @@ export default {
},
};
</script>
<style lang="scss">
<style lang="scss" scoped>
#processes-carousel {
.carousel-indicators {
li {
Expand Down Expand Up @@ -104,7 +111,7 @@ export default {
width: 100%;
height: 400px;
}
.img-fluid {
.img-carousel {
max-width: 100%;
height: inherit;
}
Expand Down