@saooti/octopus-sdk 41.1.13 → 41.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<EmissionPresentationItem
|
|
13
13
|
v-if="emissionDisplay === 'simple'"
|
|
14
14
|
:emission="option"
|
|
15
|
-
class="mx-2"
|
|
15
|
+
class="mx-2 inline-list-element"
|
|
16
16
|
is-description
|
|
17
17
|
:is-vertical="emissionVertical"
|
|
18
18
|
/>
|
|
@@ -162,7 +162,7 @@ function mainRubriquage(emission: Emission): string {
|
|
|
162
162
|
}
|
|
163
163
|
</script>
|
|
164
164
|
|
|
165
|
-
<style lang="scss">
|
|
165
|
+
<style scoped lang="scss">
|
|
166
166
|
.octopus-app {
|
|
167
167
|
.list-episode {
|
|
168
168
|
padding: 2rem 0 1rem !important;
|
|
@@ -176,4 +176,10 @@ function mainRubriquage(emission: Emission): string {
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
|
+
|
|
180
|
+
.inline-list-element {
|
|
181
|
+
@media (width <= 960px) {
|
|
182
|
+
height: 334px;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
179
185
|
</style>
|
|
@@ -82,7 +82,13 @@ const { useProxyImageUrl } = useImageProxy();
|
|
|
82
82
|
// Calcul de la taille de l'image
|
|
83
83
|
const tailleImage = computed(() => {
|
|
84
84
|
// L'élément fait 400 de large à la verticale, mais on prend en compte les bordures
|
|
85
|
-
|
|
85
|
+
if (props.vertical) {
|
|
86
|
+
return '396';
|
|
87
|
+
} else if (isPhone.value) {
|
|
88
|
+
return '246';
|
|
89
|
+
} else {
|
|
90
|
+
return '250';
|
|
91
|
+
}
|
|
86
92
|
});
|
|
87
93
|
|
|
88
94
|
//Watch
|