jeremierostan commited on
Commit
125d9fe
1 Parent(s): 4b47cff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -6
app.py CHANGED
@@ -144,7 +144,7 @@ custom_css = """
144
  margin-bottom: 10px;
145
  }
146
  .chatbot {
147
- border: 1px solid #0066CC;
148
  border-radius: 5px;
149
  padding: 10px;
150
  margin-bottom: 15px;
@@ -154,20 +154,26 @@ custom_css = """
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
 
173
  # Environment variables
 
144
  margin-bottom: 10px;
145
  }
146
  .chatbot {
147
+ border: none; /* Remove the blue border */
148
  border-radius: 5px;
149
  padding: 10px;
150
  margin-bottom: 15px;
 
154
  gap: 10px;
155
  margin-bottom: 15px;
156
  }
157
+ /* Remove borders and shadows from chat bubbles */
158
  .chatbot .message,
159
  .chatbot .message::before,
160
  .chatbot .message::after {
161
+ border: none !important;
 
 
 
162
  box-shadow: none !important;
163
  }
164
  .chatbot .message > div {
165
  border: none !important;
166
  box-shadow: none !important;
167
  }
168
+ /* Adjust padding and margin to prevent overlap */
169
+ .chatbot .message-content {
170
+ padding: 10px 15px; /* Add padding for better spacing */
171
+ margin-bottom: 5px; /* Space between messages */
172
+ }
173
+ .chatbot .message-bubble {
174
+ background-color: #FFFFFF; /* Ensure background is white */
175
+ border-radius: 8px; /* Rounded corners for messages */
176
+ }
177
  """
178
 
179
  # Environment variables