update css
Browse files
app.py
CHANGED
@@ -121,10 +121,23 @@ demo = gr.ChatInterface(
|
|
121 |
],
|
122 |
type="messages",
|
123 |
css="""
|
124 |
-
.
|
125 |
white-space: pre-wrap !important;
|
126 |
word-wrap: break-word !important;
|
127 |
overflow-wrap: break-word !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
}
|
129 |
"""
|
130 |
)
|
|
|
121 |
],
|
122 |
type="messages",
|
123 |
css="""
|
124 |
+
.prose pre {
|
125 |
white-space: pre-wrap !important;
|
126 |
word-wrap: break-word !important;
|
127 |
overflow-wrap: break-word !important;
|
128 |
+
max-width: 100% !important;
|
129 |
+
}
|
130 |
+
.prose code {
|
131 |
+
white-space: pre-wrap !important;
|
132 |
+
word-wrap: break-word !important;
|
133 |
+
overflow-wrap: break-word !important;
|
134 |
+
max-width: 100% !important;
|
135 |
+
}
|
136 |
+
.prose pre code {
|
137 |
+
white-space: pre-wrap !important;
|
138 |
+
word-wrap: break-word !important;
|
139 |
+
overflow-wrap: break-word !important;
|
140 |
+
max-width: 100% !important;
|
141 |
}
|
142 |
"""
|
143 |
)
|