ecomlab-components-next 0.1.168 → 0.1.170
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/components/Article/ListOfContent/ListOfContent.js +1 -1
- package/dist/components/Article/ListOfContent/ListOfContent.scss +2 -3
- package/dist/components/ArticleElements/ShortTileArticleBox/ShortTileArticleBox.stories.js +1 -1
- package/dist/components/Slider/SliderCarousel/SliderCarousel.js +2 -1
- package/package.json +1 -1
|
@@ -97,7 +97,7 @@ var ListOfContent = function ListOfContent(_ref) {
|
|
|
97
97
|
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
98
98
|
className: "list-of-content__label",
|
|
99
99
|
style: {
|
|
100
|
-
color: activeSection == id ? '#243AFF
|
|
100
|
+
color: activeSection == id ? '#243AFF' : ''
|
|
101
101
|
}
|
|
102
102
|
}, (0, _htmlReactParser["default"])(title)));
|
|
103
103
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
// @import url('../../../font.scss');
|
|
2
2
|
|
|
3
3
|
.list-of-content {
|
|
4
|
-
|
|
5
|
-
height: 600px;
|
|
4
|
+
height: 100%;
|
|
6
5
|
display: flex;
|
|
7
6
|
flex-direction: column;
|
|
8
7
|
gap: 12px;
|
|
9
|
-
max-height: 65vh;
|
|
10
8
|
position: sticky;
|
|
9
|
+
max-height: calc(100vh - 122px - 40px);
|
|
11
10
|
|
|
12
11
|
&__title {
|
|
13
12
|
color: #9F9F9F;
|
|
@@ -16,7 +16,7 @@ var _default = exports["default"] = {
|
|
|
16
16
|
name: ['Как увеличить продажи', 'asdasdsa'],
|
|
17
17
|
author: ["Александрhhhhhhhhhhh Морозовhhhhhhh", "rgb(175, 55, 63)"],
|
|
18
18
|
annotation: 'Когда селлер, торгующий на маркетплейсе, становится популярнее, ему приходится ежедневно обрабатывать… Когда селлер, торгующий на маркетплейсе, становится популярнее, ему приходится ежедневно обрабатывать…',
|
|
19
|
-
photoPreview: [],
|
|
19
|
+
photoPreview: ["https://file.ecomru.ru:4453/api/v1/file/download/736b87c6-2af3-4471-b9a2-7babd3dabd7b"],
|
|
20
20
|
tags: ['какой-то тэг', 'какой-то тэг'],
|
|
21
21
|
date: "14 апреля 2025",
|
|
22
22
|
timeToRead: 100500,
|
|
@@ -91,7 +91,8 @@ var SliderCarousel = function SliderCarousel(_ref) {
|
|
|
91
91
|
className: "slider-carousel__img",
|
|
92
92
|
src: _no_image["default"],
|
|
93
93
|
onError: function onError(e) {
|
|
94
|
-
|
|
94
|
+
e.currentTarget.src = "/fallback-image.jpg"; // Локальная заглушка
|
|
95
|
+
e.currentTarget.onerror = null;
|
|
95
96
|
},
|
|
96
97
|
alt: alt
|
|
97
98
|
}));
|