Spaces:
Running
Running
Update CSS for narrow views
Browse files
app.py
CHANGED
|
@@ -153,6 +153,9 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="green")) as demo:
|
|
| 153 |
.responsive-row {
|
| 154 |
flex-direction: column;
|
| 155 |
}
|
|
|
|
|
|
|
|
|
|
| 156 |
.model-dropdown-container {
|
| 157 |
flex-direction: column;
|
| 158 |
align-items: flex-start;
|
|
@@ -176,7 +179,7 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="green")) as demo:
|
|
| 176 |
|
| 177 |
chat_bot = gr.Chatbot(
|
| 178 |
type="messages",
|
| 179 |
-
height="calc(
|
| 180 |
)
|
| 181 |
|
| 182 |
chat_interface = gr.ChatInterface(
|
|
|
|
| 153 |
.responsive-row {
|
| 154 |
flex-direction: column;
|
| 155 |
}
|
| 156 |
+
.model-message {
|
| 157 |
+
text-align: start;
|
| 158 |
+
}
|
| 159 |
.model-dropdown-container {
|
| 160 |
flex-direction: column;
|
| 161 |
align-items: flex-start;
|
|
|
|
| 179 |
|
| 180 |
chat_bot = gr.Chatbot(
|
| 181 |
type="messages",
|
| 182 |
+
height="calc(100dvh - 280px)",
|
| 183 |
)
|
| 184 |
|
| 185 |
chat_interface = gr.ChatInterface(
|