wineater-bot 3.1.9 → 3.1.11
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.
|
@@ -6891,6 +6891,10 @@ body {
|
|
|
6891
6891
|
box-sizing: border-box;
|
|
6892
6892
|
}
|
|
6893
6893
|
|
|
6894
|
+
#wine-widget-container [class^=icon-], [class*=" icon-"] {
|
|
6895
|
+
font-family: 'Bricolage Grotesque', sans-serif !important;
|
|
6896
|
+
}
|
|
6897
|
+
|
|
6894
6898
|
#wine-widget-container .wine-widget-wrapper {
|
|
6895
6899
|
width: 100%;
|
|
6896
6900
|
}
|
|
@@ -7101,8 +7105,8 @@ body {
|
|
|
7101
7105
|
|
|
7102
7106
|
/* Картинка */
|
|
7103
7107
|
#wine-widget-container .wine-image {
|
|
7104
|
-
width:
|
|
7105
|
-
height:
|
|
7108
|
+
width: 1px; /* или 200px, на ваш вкус */
|
|
7109
|
+
max-height: 200px;
|
|
7106
7110
|
object-fit: contain; /* чтобы не обрезалось, если нужно */
|
|
7107
7111
|
margin: 0 auto 16px; /* отступ снизу */
|
|
7108
7112
|
display: block;
|
|
@@ -703,6 +703,10 @@ body {
|
|
|
703
703
|
box-sizing: border-box;
|
|
704
704
|
}
|
|
705
705
|
|
|
706
|
+
#wine-widget-container [class^=icon-], [class*=" icon-"] {
|
|
707
|
+
font-family: 'Bricolage Grotesque', sans-serif !important;
|
|
708
|
+
}
|
|
709
|
+
|
|
706
710
|
#wine-widget-container .wine-widget-wrapper {
|
|
707
711
|
width: 100%;
|
|
708
712
|
}
|
|
@@ -913,8 +917,8 @@ body {
|
|
|
913
917
|
|
|
914
918
|
/* Картинка */
|
|
915
919
|
#wine-widget-container .wine-image {
|
|
916
|
-
width:
|
|
917
|
-
height:
|
|
920
|
+
width: 1px; /* или 200px, на ваш вкус */
|
|
921
|
+
max-height: 200px;
|
|
918
922
|
object-fit: contain; /* чтобы не обрезалось, если нужно */
|
|
919
923
|
margin: 0 auto 16px; /* отступ снизу */
|
|
920
924
|
display: block;
|
package/index.html
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>Chatbot</title>
|
|
7
|
-
<script>window.wineaterData = {CLIENT_TOKEN: '
|
|
8
|
-
|
|
9
|
-
<script type="module" src="./src/index.js"></script>
|
|
7
|
+
<script>window.wineaterData = {CLIENT_TOKEN: 'HeUw6IXuhvz6tRuXdPEGEbj3SGQ3Q2YtEc1Z8jd41Kg9LtyPb4Epu0to31SYIadG', TYPE: 'widget', WIDGET_TYPE: 'store', WIDGET_WRAPPER: 'wineater-widget-conteiner'};</script>
|
|
8
|
+
<script type="module" src="./dist/wineater-chatbot.umd.js"></script>
|
|
9
|
+
<!-- <script type="module" src="./src/index.js"></script> -->
|
|
10
10
|
</head>
|
|
11
11
|
<body style="margin: 0;">
|
|
12
12
|
<div id="wineater-widget-conteiner"></div> <!-- Контейнер для виджета -->
|
package/package.json
CHANGED
package/src/js/widget-styles.js
CHANGED
|
@@ -37,6 +37,10 @@ body {
|
|
|
37
37
|
box-sizing: border-box;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
#wine-widget-container [class^=icon-], [class*=" icon-"] {
|
|
41
|
+
font-family: 'Bricolage Grotesque', sans-serif !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
40
44
|
#wine-widget-container .wine-widget-wrapper {
|
|
41
45
|
width: 100%;
|
|
42
46
|
}
|
|
@@ -247,8 +251,8 @@ body {
|
|
|
247
251
|
|
|
248
252
|
/* Картинка */
|
|
249
253
|
#wine-widget-container .wine-image {
|
|
250
|
-
width:
|
|
251
|
-
height:
|
|
254
|
+
width: 1px; /* или 200px, на ваш вкус */
|
|
255
|
+
max-height: 200px;
|
|
252
256
|
object-fit: contain; /* чтобы не обрезалось, если нужно */
|
|
253
257
|
margin: 0 auto 16px; /* отступ снизу */
|
|
254
258
|
display: block;
|