Update app.py
Browse files
app.py
CHANGED
@@ -117,9 +117,9 @@ custom_css = """
|
|
117 |
#logo-img {
|
118 |
display: block;
|
119 |
margin: 0 auto;
|
120 |
-
width:
|
121 |
height: auto;
|
122 |
-
padding-bottom:
|
123 |
}
|
124 |
#disclaimer-footer {
|
125 |
width: 100%;
|
@@ -132,13 +132,13 @@ custom_css = """
|
|
132 |
margin-top: 20px;
|
133 |
}
|
134 |
.container {
|
135 |
-
max-width:
|
136 |
margin: 0 auto;
|
137 |
-
padding:
|
138 |
}
|
139 |
.title {
|
140 |
color: #003366;
|
141 |
-
margin-bottom:
|
142 |
text-align: center; /* Center the title */
|
143 |
}
|
144 |
.chatbot {
|
@@ -164,16 +164,18 @@ custom_css = """
|
|
164 |
box-shadow: none !important;
|
165 |
}
|
166 |
.chatbot .message-content {
|
167 |
-
padding:
|
168 |
-
margin-bottom:
|
169 |
-
max-width:
|
170 |
-
word-wrap: break-word;
|
|
|
171 |
}
|
172 |
.chatbot .message-bubble {
|
173 |
-
background-color: #FFFFFF;
|
174 |
-
border-radius:
|
175 |
-
box-sizing: border-box;
|
176 |
-
display: inline-block;
|
|
|
177 |
}
|
178 |
"""
|
179 |
|
|
|
117 |
#logo-img {
|
118 |
display: block;
|
119 |
margin: 0 auto;
|
120 |
+
width: 150px;
|
121 |
height: auto;
|
122 |
+
padding-bottom: 20px; /* Space below logo */
|
123 |
}
|
124 |
#disclaimer-footer {
|
125 |
width: 100%;
|
|
|
132 |
margin-top: 20px;
|
133 |
}
|
134 |
.container {
|
135 |
+
max-width: 800px;
|
136 |
margin: 0 auto;
|
137 |
+
padding: 20px;
|
138 |
}
|
139 |
.title {
|
140 |
color: #003366;
|
141 |
+
margin-bottom: 10px;
|
142 |
text-align: center; /* Center the title */
|
143 |
}
|
144 |
.chatbot {
|
|
|
164 |
box-shadow: none !important;
|
165 |
}
|
166 |
.chatbot .message-content {
|
167 |
+
padding: 2px 8px; /* Reduced padding to make text bubbles smaller */
|
168 |
+
margin-bottom: 5px; /* Space between messages */
|
169 |
+
max-width: 60%; /* Restrict width to make it more compact */
|
170 |
+
word-wrap: break-word; /* Ensure text wraps properly */
|
171 |
+
display: inline-block; /* Align content properly */
|
172 |
}
|
173 |
.chatbot .message-bubble {
|
174 |
+
background-color: #FFFFFF; /* Ensure background is white */
|
175 |
+
border-radius: 5px; /* Smaller rounded corners */
|
176 |
+
box-sizing: border-box; /* Ensure padding is included in width */
|
177 |
+
display: inline-block; /* Align the bubble content properly */
|
178 |
+
margin: 2px 0; /* Reduce margin to minimize bubble size */
|
179 |
}
|
180 |
"""
|
181 |
|