FIX
This commit is contained in:
@@ -2,10 +2,21 @@
|
|||||||
<v-btn-toggle
|
<v-btn-toggle
|
||||||
v-model="internalSelected"
|
v-model="internalSelected"
|
||||||
mandatory
|
mandatory
|
||||||
class="mb-4"
|
class="mb-4 overflow-x-auto flex no-scrollbar"
|
||||||
>
|
>
|
||||||
<v-btn :value="0">Tout</v-btn>
|
<v-btn
|
||||||
<v-btn v-for="gen in generations" :key="gen" :value="gen">
|
:value="0"
|
||||||
|
class="flex-shrink-0 min-w-[80px] sm:min-w-[100px]"
|
||||||
|
>
|
||||||
|
Tout
|
||||||
|
</v-btn>
|
||||||
|
|
||||||
|
<v-btn
|
||||||
|
v-for="gen in generations"
|
||||||
|
:key="gen"
|
||||||
|
:value="gen"
|
||||||
|
class="flex-shrink-0 min-w-[80px] sm:min-w-[100px]"
|
||||||
|
>
|
||||||
Génération {{ gen }}
|
Génération {{ gen }}
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</v-btn-toggle>
|
</v-btn-toggle>
|
||||||
@@ -37,3 +48,13 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.no-scrollbar::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.no-scrollbar {
|
||||||
|
-ms-overflow-style: none;
|
||||||
|
scrollbar-width: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -98,7 +98,6 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
/* Pour adapter la hauteur du carousel */
|
|
||||||
.v-carousel-item img {
|
.v-carousel-item img {
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user