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/dist/toggle-components-library.common.js +83 -87
- package/dist/toggle-components-library.common.js.map +1 -1
- package/dist/toggle-components-library.css +1 -1
- package/dist/toggle-components-library.umd.js +83 -87
- package/dist/toggle-components-library.umd.js.map +1 -1
- package/dist/toggle-components-library.umd.min.js +1 -1
- package/dist/toggle-components-library.umd.min.js.map +1 -1
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/components/cards/ToggleCommentCard.vue +2 -5
- package/src/components/carousel/ToggleCarouselSlide.vue +1 -1
- package/src/sass/includes/_as_cards.scss +5 -0
- package/src/sass/includes/_as_navs.scss +2 -2
package/package-lock.json
CHANGED
package/package.json
CHANGED
|
@@ -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>"{{
|
|
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>
|
|
@@ -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:
|
|
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:
|
|
137
|
+
width: 20%;
|
|
138
138
|
float: left;
|
|
139
139
|
max-width: 280px;
|
|
140
140
|
min-height: 100vh;
|