rohan13 commited on
Commit
f6a9034
·
1 Parent(s): 53ed7bb

widget minimizing

Browse files
Files changed (2) hide show
  1. static/chatbot.js +1 -0
  2. static/style.css +1 -1
static/chatbot.js CHANGED
@@ -3,6 +3,7 @@ $(document).ready(function() {
3
  var $messages = $('.chat-messages');
4
  var $input = $('.chat-input input');
5
  var $submit = $('.chat_submit');
 
6
  var session_id = '';
7
  $messages.children().each(function() {
8
  $(this).addClass('chat-message');
 
3
  var $messages = $('.chat-messages');
4
  var $input = $('.chat-input input');
5
  var $submit = $('.chat_submit');
6
+ var $chatContainer = $('.chat-container');
7
  var session_id = '';
8
  $messages.children().each(function() {
9
  $(this).addClass('chat-message');
static/style.css CHANGED
@@ -57,6 +57,7 @@
57
  position: relative;
58
  word-wrap: break-word;
59
  border-radius: 10px;
 
60
  }
61
 
62
  .chat-message.user {
@@ -70,7 +71,6 @@
70
  border-bottom-right-radius: 0px;
71
  border-bottom-left-radius: 10px;
72
  word-wrap: break-word;
73
- color: #000;
74
  }
75
 
76
 
 
57
  position: relative;
58
  word-wrap: break-word;
59
  border-radius: 10px;
60
+ color: #fff;
61
  }
62
 
63
  .chat-message.user {
 
71
  border-bottom-right-radius: 0px;
72
  border-bottom-left-radius: 10px;
73
  word-wrap: break-word;
 
74
  }
75
 
76