Skip to content

Commit c5ee475

Browse files
committed
updated chat widget
1 parent 25e3258 commit c5ee475

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

frontend/src/assets/widget/iky_widget.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
// send request to bot
109109
payload["input"] = userQuery;
110110

111-
$.post('http://localhost:8080/gateway/api/v1', JSON.stringify(payload))
111+
$.post(config["base_url"]+'gateway/api/v1', JSON.stringify(payload))
112112
.done(((response)=>{
113113
successRoutes(response);}))
114114
.fail((x,t,m)=>{

frontend/src/assets/widget/style.css

+6-1
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,14 @@ body{
8383
padding:0px 10px 0px 10px;
8484
width: calc(100% - 20px);
8585
height: 100%;
86-
overflow: scroll;
86+
overflow-y: scroll;
8787
list-style-type: none;
8888
}
89+
.iky_Chat_container::-webkit-scrollbar {
90+
width: 0px; /* remove scrollbar space */
91+
background: transparent; /* optional: just make scrollbar invisible */
92+
}
93+
8994
.message_row{
9095
float: left;
9196
min-height: 20px;

0 commit comments

Comments
 (0)