bradnow commited on
Commit
3f99cb6
·
1 Parent(s): 1ed1b11

More attempts to improve the display in mobile UIs

Browse files
Files changed (1) hide show
  1. app.py +19 -1
app.py CHANGED
@@ -167,13 +167,31 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="green")) as demo:
167
  }
168
  .model-message {
169
  text-align: start;
 
170
  }
171
  .model-dropdown-container {
172
  flex-direction: column;
173
  align-items: flex-start;
174
  }
175
  .chatbot {
176
- max-height: 900px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  }
178
  }
179
  """)
 
167
  }
168
  .model-message {
169
  text-align: start;
170
+ font-size: 10px !important;
171
  }
172
  .model-dropdown-container {
173
  flex-direction: column;
174
  align-items: flex-start;
175
  }
176
  .chatbot {
177
+ max-height: 850px;
178
+ }
179
+ }
180
+
181
+ @media (max-width: 400px) {
182
+ .responsive-row {
183
+ flex-direction: column;
184
+ }
185
+ .model-message {
186
+ text-align: start;
187
+ font-size: 10px !important;
188
+ }
189
+ .model-dropdown-container {
190
+ flex-direction: column;
191
+ align-items: flex-start;
192
+ }
193
+ .chatbot {
194
+ max-height: 400px;
195
  }
196
  }
197
  """)