@saooti/octopus-sdk 36.0.27 → 36.0.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "36.0.27",
3
+ "version": "36.0.28",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -174,6 +174,10 @@ body{
174
174
  height: $octopus-mobile-item-size;
175
175
  }
176
176
  }
177
+ .img-box-podcast{
178
+ height: $octopus-item-podcast-size;
179
+ width: $octopus-item-podcast-size;
180
+ }
177
181
 
178
182
  .comma {
179
183
  display: flex;
@@ -77,7 +77,7 @@
77
77
  margin: 1em 0 0;
78
78
  padding: 0;
79
79
  display: grid; /* 1 */
80
- grid-template-columns: repeat(auto-fill, $octopus-item-size); /* 2 */
80
+ grid-template-columns: repeat(auto-fill, $octopus-item-podcast-size); /* 2 */
81
81
  grid-gap: 1rem; /* 3 */
82
82
  justify-content: space-between; /* 4 */
83
83
  @media (max-width: 960px) {
@@ -280,6 +280,7 @@
280
280
  align-items: center;
281
281
  justify-content: center;
282
282
  z-index: 2;
283
+ width: fit-content;
283
284
 
284
285
  &:hover {
285
286
  background: #00000030;
@@ -186,7 +186,7 @@ export default defineComponent({
186
186
  background-size: cover;
187
187
  background-position: center;
188
188
  h1{
189
- margin: 2rem 1rem auto;
189
+ margin: auto 1rem auto;
190
190
  font-size: 2rem;
191
191
  color: white;
192
192
  }
@@ -50,7 +50,7 @@ export default defineComponent({
50
50
  if (window.innerWidth <= 450) {
51
51
  return 12.5;
52
52
  }
53
- return state.generalParameters.podcastItem ? state.generalParameters.podcastItem: 16.5;
53
+ return state.generalParameters.podcastItem ? state.generalParameters.podcastItem: 13.5;
54
54
  },
55
55
  },
56
56
 
@@ -93,7 +93,7 @@ export default defineComponent({
93
93
  .swiper-button-prev{
94
94
  left: 0;
95
95
  }
96
- .swiper-slide-active{
96
+ /* .swiper-slide-active{
97
97
  padding-left:27px;
98
98
  @media (max-width: 550px) {
99
99
  padding-left:0;
@@ -101,7 +101,7 @@ export default defineComponent({
101
101
  }
102
102
  .swiper-slide-next{
103
103
  padding-right:27px;
104
- }
104
+ } */
105
105
  .swiper-button-lock{
106
106
  display: flex;
107
107
  }
@@ -1,10 +1,10 @@
1
1
  <template>
2
- <div class="img-box position-relative flex-shrink-0 mb-3 me-3 float-start">
2
+ <div class="img-box img-box-podcast position-relative flex-shrink-0 mb-3 me-3 float-start">
3
3
  <img
4
4
  v-lazy="radio.imageUrl ?proxyImageUrl(radio.imageUrl, '330') :'/img/emptyradio.webp'"
5
5
  width="330"
6
6
  height="330"
7
- class="img-box"
7
+ class="img-box img-box-podcast"
8
8
  :title="$t('Canal name image',{name:radio.name})"
9
9
  :alt="$t('Canal name image',{name:radio.name})"
10
10
  >
@@ -130,6 +130,7 @@ export default defineComponent({
130
130
  flex-direction: column;
131
131
  margin: 1rem 0;
132
132
  align-items: center;
133
+ width: $octopus-item-size;
133
134
 
134
135
  .participant-description {
135
136
  overflow: hidden;
@@ -1,13 +1,13 @@
1
1
  <template>
2
2
  <div
3
3
  v-if="podcast"
4
- class="img-box mb-3 flex-column justify-content-start align-items-start position-relative flex-shrink-0 float-start"
4
+ class="img-box img-box-podcast mb-3 flex-column justify-content-start align-items-start position-relative flex-shrink-0 float-start"
5
5
  >
6
6
  <img
7
7
  v-lazy="proxyImageUrl(podcast.imageUrl,'330')"
8
8
  width="330"
9
9
  height="330"
10
- class="img-box"
10
+ class="img-box img-box-podcast"
11
11
  :alt="$t('Episode name image', {name:podcast.title})"
12
12
  >
13
13
  <div
@@ -128,8 +128,8 @@ export default defineComponent({
128
128
  border-radius: $octopus-borderradius;
129
129
  list-style: none;
130
130
  position: relative;
131
- width: $octopus-item-size;
132
- height: 23.5rem;
131
+ width: $octopus-item-podcast-size;
132
+ height: 20.5rem;
133
133
  overflow: hidden;
134
134
  display: flex;
135
135
  flex-direction: column;
@@ -142,12 +142,12 @@ export default defineComponent({
142
142
  padding: 1rem;
143
143
  color: #333;
144
144
  background-color: rgba(255, 255, 255, 0.92);
145
- height: $octopus-item-size;
145
+ height: $octopus-item-podcast-size;
146
146
  overflow: hidden;
147
147
  text-overflow: ellipsis;
148
148
  font-size: 0.9em;
149
149
  position: absolute;
150
- width: $octopus-item-size;
150
+ width: $octopus-item-podcast-size;
151
151
  word-break: break-word;
152
152
  &.after-podcast-description:after {
153
153
  content: '...';
@@ -167,6 +167,8 @@ import vSelect from "vue-select";
167
167
  --vs-dropdown-option--active-bg: #ddd;
168
168
  --vs-dropdown-option--active-color: black;
169
169
  --vs-font-size:0.8rem;
170
+ --vs-border-width: 2px;
171
+ --vs-border-color: #dee2e6;
170
172
  }
171
173
  .octopus-app{
172
174
  .vs__dropdown-option{
@@ -48,6 +48,7 @@ export default defineComponent({
48
48
  border: 2px solid #dee2e6;
49
49
  border-radius: $octopus-borderradius;
50
50
  margin: 0 !important;
51
+ height: 44px;
51
52
  }
52
53
  .saooti-search,
53
54
  .saooti-remove {
@@ -3,7 +3,8 @@ $font-family-sans-serif: sans-serif;
3
3
  $font-size-base: 0.9rem;
4
4
  $line-height-base: 1.6;
5
5
 
6
- $octopus-item-size: 16.5rem !default;
6
+ $octopus-item-size: 12.5rem !default;
7
+ $octopus-item-podcast-size: 13.5rem !default;
7
8
  $octopus-mobile-item-size: 12.5rem !default;
8
9
  $octopus-borderradius: 0.2rem !default;
9
10
 
@@ -18,7 +18,7 @@ const state:ParamStore = {
18
18
  allCategories: [],
19
19
  isLiveTab: true,
20
20
  isCaptchaTest: true,
21
- podcastItem:16.5,
21
+ podcastItem:13.5,
22
22
  isInlineAnimation:true,
23
23
  },
24
24
  podcastPage: {