wineater-bot 3.1.10 → 3.1.12
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.
|
@@ -7105,8 +7105,8 @@ body {
|
|
|
7105
7105
|
|
|
7106
7106
|
/* Картинка */
|
|
7107
7107
|
#wine-widget-container .wine-image {
|
|
7108
|
-
width:
|
|
7109
|
-
height:
|
|
7108
|
+
width: 150px; /* или 200px, на ваш вкус */
|
|
7109
|
+
max-height: 200px;
|
|
7110
7110
|
object-fit: contain; /* чтобы не обрезалось, если нужно */
|
|
7111
7111
|
margin: 0 auto 16px; /* отступ снизу */
|
|
7112
7112
|
display: block;
|
|
@@ -917,8 +917,8 @@ body {
|
|
|
917
917
|
|
|
918
918
|
/* Картинка */
|
|
919
919
|
#wine-widget-container .wine-image {
|
|
920
|
-
width:
|
|
921
|
-
height:
|
|
920
|
+
width: 150px; /* или 200px, на ваш вкус */
|
|
921
|
+
max-height: 200px;
|
|
922
922
|
object-fit: contain; /* чтобы не обрезалось, если нужно */
|
|
923
923
|
margin: 0 auto 16px; /* отступ снизу */
|
|
924
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
|
@@ -251,8 +251,8 @@ body {
|
|
|
251
251
|
|
|
252
252
|
/* Картинка */
|
|
253
253
|
#wine-widget-container .wine-image {
|
|
254
|
-
width:
|
|
255
|
-
height:
|
|
254
|
+
width: 150px; /* или 200px, на ваш вкус */
|
|
255
|
+
max-height: 200px;
|
|
256
256
|
object-fit: contain; /* чтобы не обрезалось, если нужно */
|
|
257
257
|
margin: 0 auto 16px; /* отступ снизу */
|
|
258
258
|
display: block;
|