toggle-components-library 1.36.1-beta.2 → 1.36.1-beta.3

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-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toggle-components-library",
3
- "version": "1.36.1-beta.2",
3
+ "version": "1.36.1-beta.3",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toggle-components-library",
3
- "version": "1.36.1-beta.2",
3
+ "version": "1.36.1-beta.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -2,7 +2,7 @@
2
2
  <div class="toggle-comment-card">
3
3
  <div class="toggle-comment-card-info" :style="{ backgroundColor: cardColor }">
4
4
  <div class="toggle-comment-card-text">
5
- <p>"{{ displayComment }}"</p>
5
+ <p>"{{ comment }}"</p>
6
6
  </div>
7
7
  <div class="toggle-comment-card-name">
8
8
  <slot name="button_contacts"></slot>
@@ -50,10 +50,7 @@ export default {
50
50
  (this.cardIndex / this.totalCards) * colorPalette.length
51
51
  );
52
52
  return colorPalette[paletteIndex];
53
- },
54
- displayComment() {
55
- return this.comment.length > 420 ? this.comment.substring(0, 420) + "..." : this.comment;
56
- },
53
+ }
57
54
  }
58
55
  };
59
56
  </script>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <swiper-slide class="toggle-carousel-slide" :style="'width:' + slideWidth + '; height:' + slideHeight">
2
+ <swiper-slide class="toggle-carousel-slide">
3
3
  <slot></slot>
4
4
  </swiper-slide>
5
5
  </template>
@@ -186,6 +186,11 @@
186
186
  .toggle-comment-card-text {
187
187
  text-align: justify;
188
188
  line-height: 1.5rem;
189
+ text-overflow: ellipsis;
190
+ -webkit-line-clamp: 6;
191
+ -webkit-box-orient: vertical;
192
+ overflow: hidden;
193
+ display: -webkit-box;
189
194
 
190
195
  p {
191
196
  margin: 0
@@ -4,7 +4,7 @@
4
4
 
5
5
  .toggle-sidenav-container {
6
6
  font-size: $toggle-font-size-regular;
7
- width: 25%;
7
+ width: 20%;
8
8
  float: left;
9
9
  max-width: 280px;
10
10
  min-height: 100vh;
@@ -134,7 +134,7 @@
134
134
 
135
135
  line-height: 1rem;
136
136
  font-size: $toggle-font-size-regular;
137
- width: 25%;
137
+ width: 20%;
138
138
  float: left;
139
139
  max-width: 280px;
140
140
  min-height: 100vh;