jdesiree commited on
Commit
15dde1d
·
verified ·
1 Parent(s): 74fb613

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -14
app.py CHANGED
@@ -273,13 +273,18 @@ with gr.Blocks(theme=theme, css="""
273
  .custom-textbox {
274
  min-width: 250px;
275
  }
276
- .custom-textbox input,
277
- .custom-textbox textarea {
278
- padding: 12px 15px !important;
279
- font-size: 14px !important;
280
- min-height: 45px !important;
281
- height: 45px !important;
282
- }
 
 
 
 
 
283
  }
284
 
285
  @media (min-width: 769px) and (max-width: 1024px) {
@@ -324,13 +329,13 @@ with gr.Blocks(theme=theme, css="""
324
 
325
  with gr.Row(elem_classes=["input-row"]):
326
  msg = gr.Textbox(
327
- placeholder="Ask me about math, research, study strategies, or any educational topic...",
328
- container=False,
329
- show_label=False,
330
- elem_classes=["custom-textbox"],
331
- lines=1,
332
- max_lines=1
333
- )
334
  send_btn = gr.Button("📤", variant="primary", elem_classes=["send-button"])
335
 
336
  def respond_and_update(message, history):
 
273
  .custom-textbox {
274
  min-width: 250px;
275
  }
276
+ .custom-textbox textarea {
277
+ border-radius: 12px !important;
278
+ border: 1pt solid #64748b !important; /* 1pt slate border */
279
+ padding: 15px 20px !important;
280
+ font-size: 16px !important;
281
+ background: white !important;
282
+ outline: none !important;
283
+ box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
284
+ transition: all 0.3s ease !important;
285
+ min-height: 100px !important;
286
+ resize: vertical !important;
287
+ }
288
  }
289
 
290
  @media (min-width: 769px) and (max-width: 1024px) {
 
329
 
330
  with gr.Row(elem_classes=["input-row"]):
331
  msg = gr.Textbox(
332
+ placeholder="Ask me about math, research, study strategies, or any educational topic...",
333
+ container=False,
334
+ show_label=False,
335
+ elem_classes=["custom-textbox"],
336
+ lines=4,
337
+ max_lines=8
338
+ )
339
  send_btn = gr.Button("📤", variant="primary", elem_classes=["send-button"])
340
 
341
  def respond_and_update(message, history):