Spaces:
Running
Running
Commit
·
0321f68
1
Parent(s):
f15070d
ui fix
Browse files
app.py
CHANGED
|
@@ -1131,20 +1131,7 @@ body.meetara-light-mode .prompt-radio input:checked ~ * {
|
|
| 1131 |
overflow-y: auto !important;
|
| 1132 |
padding-bottom: 20px !important;
|
| 1133 |
background: transparent !important;
|
| 1134 |
-
background-color: transparent !important; /* Force transparent */
|
| 1135 |
border: none !important;
|
| 1136 |
-
box-shadow: none !important;
|
| 1137 |
-
}
|
| 1138 |
-
|
| 1139 |
-
/* Force internal Gradio wrappers to be transparent */
|
| 1140 |
-
.chatbot > .wrap,
|
| 1141 |
-
.chatbot .prose,
|
| 1142 |
-
.chatbot .block,
|
| 1143 |
-
.chatbot > div {
|
| 1144 |
-
background: transparent !important;
|
| 1145 |
-
background-color: transparent !important;
|
| 1146 |
-
border: none !important;
|
| 1147 |
-
box-shadow: none !important;
|
| 1148 |
}
|
| 1149 |
|
| 1150 |
/* The Wrapper (contains pairs) */
|
|
@@ -1169,38 +1156,29 @@ body.meetara-light-mode .prompt-radio input:checked ~ * {
|
|
| 1169 |
min-height: auto !important;
|
| 1170 |
}
|
| 1171 |
|
| 1172 |
-
/* Request (User)
|
| 1173 |
.message.user, [data-testid="user"] {
|
| 1174 |
align-self: flex-end !important;
|
| 1175 |
-
|
| 1176 |
-
|
| 1177 |
-
|
| 1178 |
-
|
| 1179 |
-
border-radius: 12px !important;
|
| 1180 |
-
padding: 12px 16px !important;
|
| 1181 |
margin: 0 !important;
|
| 1182 |
-
color: #
|
| 1183 |
-
width:
|
| 1184 |
-
max-width:
|
| 1185 |
-
display: inline-block !important;
|
| 1186 |
-
box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
|
| 1187 |
}
|
| 1188 |
|
| 1189 |
-
/* Response (Bot)
|
| 1190 |
.message.bot, [data-testid="bot"] {
|
| 1191 |
align-self: flex-start !important;
|
| 1192 |
-
margin-right: auto !important;
|
| 1193 |
text-align: left !important;
|
| 1194 |
-
background:
|
| 1195 |
-
border:
|
| 1196 |
-
|
| 1197 |
-
padding: 12px 16px !important;
|
| 1198 |
margin: 0 !important;
|
| 1199 |
-
color: #cbd5e1 !important;
|
| 1200 |
-
width:
|
| 1201 |
-
max-width: 90% !important;
|
| 1202 |
-
display: inline-block !important;
|
| 1203 |
-
box-shadow: none !important;
|
| 1204 |
}
|
| 1205 |
|
| 1206 |
/* Ensure text readability and fix overlaps */
|
|
@@ -1476,7 +1454,7 @@ textarea::placeholder {
|
|
| 1476 |
|
| 1477 |
/* Gemini input - mobile */
|
| 1478 |
.input-container-gemini {
|
| 1479 |
-
padding: 12px 12px
|
| 1480 |
position: sticky !important;
|
| 1481 |
bottom: 0 !important;
|
| 1482 |
z-index: 100 !important;
|
|
@@ -1885,13 +1863,10 @@ with gr.Blocks(
|
|
| 1885 |
chatbot = gr.Chatbot(
|
| 1886 |
show_copy_button=False, # Temporarily disabled to debug spacing
|
| 1887 |
label="",
|
| 1888 |
-
show_label=False,
|
| 1889 |
-
bubble_full_width=False,
|
| 1890 |
elem_id="main-chatbot",
|
| 1891 |
elem_classes=["chatbot"],
|
| 1892 |
height=None,
|
| 1893 |
-
sanitize_html=False
|
| 1894 |
-
type="tuples"
|
| 1895 |
)
|
| 1896 |
|
| 1897 |
# Input Area - Simple and Clean
|
|
|
|
| 1131 |
overflow-y: auto !important;
|
| 1132 |
padding-bottom: 20px !important;
|
| 1133 |
background: transparent !important;
|
|
|
|
| 1134 |
border: none !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1135 |
}
|
| 1136 |
|
| 1137 |
/* The Wrapper (contains pairs) */
|
|
|
|
| 1156 |
min-height: auto !important;
|
| 1157 |
}
|
| 1158 |
|
| 1159 |
+
/* Request (User) */
|
| 1160 |
.message.user, [data-testid="user"] {
|
| 1161 |
align-self: flex-end !important;
|
| 1162 |
+
text-align: right !important;
|
| 1163 |
+
background: transparent !important;
|
| 1164 |
+
border: none !important;
|
| 1165 |
+
padding: 0 !important;
|
|
|
|
|
|
|
| 1166 |
margin: 0 !important;
|
| 1167 |
+
color: #a3a3b8 !important; /* Dark gray */
|
| 1168 |
+
width: auto !important;
|
| 1169 |
+
max-width: 90% !important;
|
|
|
|
|
|
|
| 1170 |
}
|
| 1171 |
|
| 1172 |
+
/* Response (Bot) */
|
| 1173 |
.message.bot, [data-testid="bot"] {
|
| 1174 |
align-self: flex-start !important;
|
|
|
|
| 1175 |
text-align: left !important;
|
| 1176 |
+
background: transparent !important;
|
| 1177 |
+
border: none !important;
|
| 1178 |
+
padding: 0 !important;
|
|
|
|
| 1179 |
margin: 0 !important;
|
| 1180 |
+
color: #cbd5e1 !important; /* Light gray */
|
| 1181 |
+
width: 100% !important;
|
|
|
|
|
|
|
|
|
|
| 1182 |
}
|
| 1183 |
|
| 1184 |
/* Ensure text readability and fix overlaps */
|
|
|
|
| 1454 |
|
| 1455 |
/* Gemini input - mobile */
|
| 1456 |
.input-container-gemini {
|
| 1457 |
+
padding: 12px 12px 16px 12px !important;
|
| 1458 |
position: sticky !important;
|
| 1459 |
bottom: 0 !important;
|
| 1460 |
z-index: 100 !important;
|
|
|
|
| 1863 |
chatbot = gr.Chatbot(
|
| 1864 |
show_copy_button=False, # Temporarily disabled to debug spacing
|
| 1865 |
label="",
|
|
|
|
|
|
|
| 1866 |
elem_id="main-chatbot",
|
| 1867 |
elem_classes=["chatbot"],
|
| 1868 |
height=None,
|
| 1869 |
+
sanitize_html=False
|
|
|
|
| 1870 |
)
|
| 1871 |
|
| 1872 |
# Input Area - Simple and Clean
|