jeremierostan commited on
Commit
4b47cff
·
verified ·
1 Parent(s): 76fcac1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -23
app.py CHANGED
@@ -118,7 +118,7 @@ custom_css = """
118
  position: absolute;
119
  top: 20px;
120
  right: 20px;
121
- width: 150px;
122
  height: auto;
123
  z-index: 1000;
124
  }
@@ -154,29 +154,19 @@ custom_css = """
154
  gap: 10px;
155
  margin-bottom: 15px;
156
  }
157
- /* Chat bubble fix */
158
- .chatbot .message {
159
- border-left: none !important;
160
- padding-left: 0 !important;
 
 
 
 
 
161
  }
162
- .chatbot .message::before {
163
- display: none !important;
164
- }
165
- .chatbot .user-message,
166
- .chatbot .bot-message {
167
- border-radius: 15px;
168
- padding: 10px 15px;
169
- margin-bottom: 10px;
170
- max-width: 80%;
171
- position: relative;
172
- }
173
- .chatbot .user-message {
174
- background-color: #E6F3FF;
175
- margin-left: auto;
176
- }
177
- .chatbot .bot-message {
178
- background-color: #FFFFFF;
179
- margin-right: auto;
180
  }
181
  """
182
 
 
118
  position: absolute;
119
  top: 20px;
120
  right: 20px;
121
+ width: 200px;
122
  height: auto;
123
  z-index: 1000;
124
  }
 
154
  gap: 10px;
155
  margin-bottom: 15px;
156
  }
157
+ /* Forceful removal of lines */
158
+ .chatbot .message,
159
+ .chatbot .message::before,
160
+ .chatbot .message::after {
161
+ border-left: none !important;
162
+ border-right: none !important;
163
+ border-top: none !important;
164
+ border-bottom: none !important;
165
+ box-shadow: none !important;
166
  }
167
+ .chatbot .message > div {
168
+ border: none !important;
169
+ box-shadow: none !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
170
  }
171
  """
172