@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
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 41.1.14 (18/12/2025)
4
+
5
+ **Misc**
6
+
7
+ - Ajustements affichage pour smartphones
8
+
3
9
  ## 41.1.13 (18/12/2025)
4
10
 
5
11
  **Misc**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "41.1.13",
3
+ "version": "41.1.14",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -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>
@@ -20,6 +20,7 @@
20
20
  >
21
21
  <template #after-image>
22
22
  <PodcastPlayButton
23
+ v-if="!isPhone"
23
24
  :podcast="item"
24
25
  :hide-play="false"
25
26
  :show-processing="false"
@@ -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
- return props.vertical ? '396' : '250';
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